I’m looking for a way to get the principal moments of inertia and principal axis about the centroid axes of a Brep/Mesh in C# to use in a Grasshopper component.
In Rhino I can use the VolumeMoments command to get this information but I’m not able to find a corresponding API function. There is the VolumeMassProperties class which provides most of the info given by the VolumeMoments command but i can’t see the properties that I need. I the property missing? How could I get the principal axis