rs.MeshVolumeMoments command in Python is missing

Hi,

Writing in Python and having imported RhinoScript functionality, I cannot see the command rs.MeshVolumeMoments. Any idea why? (rs.VolumeCentroid is there though)

Theofanis

Hi @Theofanis,

Thanks - I’ve logged the issue.

https://mcneel.myjetbrains.com/youtrack/issue/RH-66100

In the mean time, just call directly into RhinoCommon.

https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_VolumeMassProperties_Compute_4.htm

– Dale

Thanks a lot Dale! May I ask, how can I get those values from a SubD geometry?