[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.
Calculate Statistics for 3D Solids
Tip# 3797 By Michael Weaver On 14-Jan-2012
Rated By 0 users Downloaded : 540
Categories : Mass Properties, Solids
Software type : AutoCAD 2012
Rename File To : modelstats.lsp
This routine determines volume and center of gravity.

This routine by Michael Weaver will calculate the volume and center of gravity for 3D solids in AutoCAD. Start by loading the LISP file, then run the command ModelStats. Select one or more solid objects, and a circle will be drawn whose center point is the center of gravity of the selection. The volume will be calculated and the result displayed at the Command line along with the weight (based on the mass of steel). Units are assumed to be in inches. Nice job, Michael.


Average Rating:

User comments