Closed MattFerraro closed 8 months ago
Thank you for your comment.
We added implementation to calculate the volume and the center of gravity of PolygonMesh
and Solid<Point3, PolylineCurve<Point3>, PolygonMesh>
.
implementation: https://github.com/ricosjp/truck/blob/master/truck-meshalgo/src/analyzers/volume.rs test (sample code): https://github.com/ricosjp/truck/blob/master/truck-meshalgo/tests/analyzers/volume.rs#L17
Excellent, thank you!
Hello,
Would it be possible to implement something like
solid::volume()
andsolid::center_of_mass()
? These are very useful for CAD applications.Cheers