Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

putting a point where the centroid is

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
AutoMarcus
1646 Views, 5 Replies

putting a point where the centroid is

G'day all

Here is an easyone for some free internet points (no pun intended)

hope someone has an answer.

 

if i get the mass properties of a solid, i get the centroid in x, y and z.

 

how can i make a point for these coordinates without copy and pasting the coordinates to a text file then making a point and copying the coordinates back into that point?

 

is there a command say CENTROID or similar where you click the 3d solid and bam, there is your centroid.

 

this would help immensely for crane lift plans

cheers

Marcus

 

5 REPLIES 5
Message 2 of 6

Hi, Marcus,

 

This is not my subject of work, but it was interesting whether I would find the right thing or not.😀


Maybe something like this is from dwg.ru of kpblc - https://forum.dwg.ru/showpost.php?p=398952&postcount=20.

Second lisp - set-center-3d-m.

Centroids are blocks for each of the specified 3DSOLID or REGION.
Didn 't check!!!
For some reason in blocks of 3 points...


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

Message 3 of 6
Ajilal.Vijayan
in reply to: AutoMarcus

Another option is to use the 3D Osnap -> center of face

Untitled.png
Message 4 of 6
vladimir_michl
in reply to: AutoMarcus

You can use the CENTROID "command" (an add-on with command) to draw a COG point - see:

https://www.cadforum.cz/cadforum_en/how-to-draw-a-center-of-gravity-point-tip6820

For some types of 3D objects you can also use the 3D osnap "Center of face".

 

Vladimir Michl, www.cadstudio.cz - www.cadforum.cz

 

Message 5 of 6
AutoMarcus
in reply to: vladimir_michl

thankyou that worked

Message 6 of 6

I specifically chose set-center-3d-m.lsp because it creates points for all selected objects at once.
And specifically chose the option when points are created in blocks. Blocks can be given attributes to store and display the desired data.
And 3 points in these kpblc_dwgru_CenterPoint3D blocks were made specially - that them better it was visible in 3D. If PDMODE > 0, such "points" are always visible at any slope-turn in the 3D.


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost