Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using polyhedral_mass_properties #252

Open
mo8it opened this issue Aug 13, 2024 · 0 comments
Open

Consider using polyhedral_mass_properties #252

mo8it opened this issue Aug 13, 2024 · 0 comments

Comments

@mo8it
Copy link

mo8it commented Aug 13, 2024

polyhedral_mass_properties is a library that I just published to calculate mass properties (mass, center of mass and inertia matrix/tensor) of triangle meshes. It is at least 2x faster than MassProperties::from_trimesh. See benchmark.

Using MassProperties::reconstruct_inertia_matrix returns a matrix where xy and xz are swapped. This is probably a bug in the implementation of Parry (I compared with other implementations, not only mine).

If you need any help, please let me know. I could add a version for f32 and add the Apache license.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant