Grasshopper

algorithmic modeling for Rhino

Hi! I'm trying to get the center of gravity or center of mass of this parametric 3d truss, line modeled with grass and model ensembled with karamba:

perspective viewsuperior viewThe numbered points are the place of the circular concrete supports for the truss. 
I need to get the center of gravity of the truss because i want to match it with the center of torsions, which I move changing the circular supports radio (changing stiffness), in order to decrease earthquake effects due to torsion.
Is there any option in karamba to get the place of the center of gravity of the truss? 
Thanks!

Views: 1624

Replies to This Discussion

There s no function available for this. But you can build it yourself:

- Take the center of each beam and multiply this vector/point with its weight

- Add all those vectors

- Divide the resulting vector by the total mass

There is more than one workaround to get the mass of each beam.

One possibility is to disassemble the model and assemble a new one with a grafted element-input. then you get a list of models, each containing just one element - and also the mass of each model.

Best

Robert

There is a [Weighted Average] component that will work directly with point3d...

true :)

Thanks a lot Robert & Fred! Very helpful!!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service