putting a point where the centroid is

putting a point where the centroid is

AutoMarcus
Collaborator Collaborator
6,592 Views
5 Replies
Message 1 of 6

putting a point where the centroid is

AutoMarcus
Collaborator
Collaborator

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

 

0 Likes
Accepted solutions (1)
6,593 Views
5 Replies
Replies (5)
Message 2 of 6

АлексЮстасу
Advisor
Advisor

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

0 Likes
Message 3 of 6

Ajilal.Vijayan
Advisor
Advisor

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

Untitled.png
Message 4 of 6

vladimir_michl
Advisor
Advisor
Accepted solution

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

 

0 Likes
Message 5 of 6

AutoMarcus
Collaborator
Collaborator

thankyou that worked

0 Likes
Message 6 of 6

АлексЮстасу
Advisor
Advisor

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

0 Likes