[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.
Automatic Circles and Sprockets
Tip# 3328 By William Townsend On 01-Dec-2009
5
Rated By 1 users Downloaded : 510
Categories : Curved Objects
Software type : AutoCAD 2010
Rename File To : circ.lsp
Create a circle by specifying the circumference, or a sprocket by specifying the chain pitch and tooth count.

Bill Townsend's first routine allows you to create a circle by specifying the circumference. Load the LISP code and type Circ at the Command line. It will ask you for the center point, units (inches or millimeters), and for the circumference. The properly sized circle will be created. The second routine allows you to create a sprocket in which the diameter is based on the chain pitch and tooth count. Type Sproc at the Command line to run the routine. The prompts are the same as above, except you are asked to specify the chain pitch and tooth count. The routine does not draw the sprocket teeth.

 

Average Rating:
5


User comments


Log In