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!
Tags:
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 :)
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by