How to get volume of Rhino model

Hello @dale,
I need to calculate the volume of a Rhino 3dm model. In Rhino modular there is a command ‘volume’ which gives us the volume of the selected entity.
So is there any function/API in OpenNURBS for calculating volume.

I also observed that the bounding box size that I get from Rhino modular does not match with the bounding box size I get from OpenNURBS API (ONX_Model)

Hi @psomesh94,

No, there are no mass properties calculations in the free openNURBS toolkit.

Also, Rhino’s BoundingBox command uses some internal code, along with what is available into openNURBS. So this may be true for some objects.

– Dale