[Search tip detail and code files using keywords, tip number, author name, etc ]
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Enclose Circles with Tangent Lines
Tip# 3457 By Lee McDonnell On 10-Jul-2010
Rated By 3 users Downloaded : 755
Categories : Linear Objects, Curved Objects
Software type : AutoCAD 2011
Rename File To : Circle Enclosure/,Circle Enclosure/Circle Enclosure.lsp,Circle Enclosure/TangentEnclosure.gif
Construct tangent lines between two or more circles.

Lee McDonnell has contributed an AutoCAD routine that constructs tangent lines between two or more circles. Start by loading the LISP file and enter the command CE. Select the first circle, then select additional circles as needed, one at a time. When you are done, click anywhere to end the command. Tangent lines will be constructed to form an enclosure around all selected circles. Lee's code provides several examples of how to use functions such as (mapcar) and (lambda) as well as several (vl- ) functions; he has also provided an animated image showing this code in action.


Average Rating:

User comments