Place centre of gravity of an element at SP and PBP (X; Y; Z)


#1

Hello everyone:

I´m trying to place an object automatically at the Survey Point and also at the Project Base Point so that its center of gravity matches the SP and PBP coordinates.

That would allow me to calculate the distance between SP - Internal Point and PBP - Internal Point by knowing the center of gravity of these objects,

whose center of gravity is always calculated referenced to the Internal Point.

Does anybody have any ideas about how to solve this problem?


#2

Assuming you use the metric system:


#3

Thank you so much Organon.

I really need to catch up with my python code skills…new to Dynamo and still learning about nodes before I submerge myself into Python.

Really helpful though.

 

Thanks again.

 


#4

Good luck.