Grasshopper

algorithmic modeling for Rhino

Hi all, 

 

does anyone tackle with the calculation of a volume?

I want to eval the volume of a cylinder and after declaring...

 

Rhino.Geometry.VolumeMassProperties volCylinder;

 

...I can not imagine how to carry on... ¿?

 

any help?

 

thanks!!!

Views: 370

Replies to This Discussion

VolumeMassProperties volCylinder = VolumeMassProperties.Compute(cylinder.ToBrep(true, true));

 

It would be much faster to compute the volume using pi * radius * radius * height.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Thanks David, 

 

the example I put was very easy....the thing is I want to use VolumeMassProperties to eval a more complicated Brep,

 

Ramon

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service