[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.
AutoLISP Solutions: Automatic Beveled Gears Tip
Tip# ALSPSOL0906 By Tony Hotchkiss On 01-Sep-2006
3.5
Rated By 2 users Downloaded : 1097
Categories : 2D Operations, Curved Objects, Standard Blocks, LISP Code Modules
Software type : AutoCAD
Rename File To : Tip ALSPSOL0906 BEVELGEAR.LSP and BEVELGEAR.DCL
Use code to automatically draw a beveled gear.

Since I wrote the Spurgear code some years ago, I've received several requests for a program to draw a bevel gear. The latest request is from Howard Lindsey, an AutoCAD high-school teacher in Inverness, Florida. Now at last I'm pleased to present BEVELGEAR.LSP and the dialog box file BEVELGEAR.DCL.
BEVELGEAR.LSP takes the gear pitch diameter and the numbers of teeth on the gear and pinion as input via a dialog box. The beveled gear is then automatically drawn using the intersection of the gear and pinion shafts as the origin point (0.0, 0.0 in world coordinates).

I wrote the code in AutoCAD 2006 and have tested it in both 2006 and 2007, although it should also run in earlier versions such as 2004 and 2005.



 

 

Average Rating:
3.5


User comments


Log In