CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE

CAD tip CAD tip # 6820:

Question

CAD 
 %  platform  category 
A
You can find and display the coordinates of the center of gravity (CG/COG) of a closed region or solid with the AutoCAD command MASSPROP. But if you want to draw the center of gravity as an entity, use the utility ARKANCE Centroid.

The LISP application Centroid calculates and creates (as a POINT or SPHERE object) the center of gravity (centroid) of any closed polyline (pline), 2D region or 3D solid. Optionally you can draw XYZ labels, volume or surface area labels. You can calculate the COG either from vertices/properties of the object(s) or from its bounding box.

Load it with APPLOAD and run the CENTROID or CENTROIDS command.

The free utility Centroid can be downloaded from DL Download

See:

You use the LISP variables to preset Centroid options: (setq _centroidmarkertype "sphere"), (setq _centroidxyztype "yes"), (setq _centroidproptype "volume"), (setq _centroidsize 10.0).

Since AutoCAD 2016 you can also use the osnap mode "geometric center" to snap to the center of gravity of an object - e.g. in the POINT command.

ACADADTACADMMapCivil
100% *CAD
27.7.2009    40585×  
this tip shared by ARKANCE experts applies to: AutoCAD · AutoCAD Architecture · AutoCAD Mechanical · AutoCAD Map 3D · Civil 3D ·

See also:
Tip 1183:How to get the center gravity of an area?


Back    All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD: 
OS: 
Categ: 
Text:
 FAQ
  



Featuring:
Extend your AutoCAD LT productivity with our popular add-on
ARKANCE LT Extension More info


Please use these tips at your own risk.
ARKANCE is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist