Crates.io | polyhedral_mass_properties |
lib.rs | polyhedral_mass_properties |
version | 0.2.2 |
source | src |
created_at | 2024-08-13 11:07:58.464502 |
updated_at | 2024-08-15 13:14:04.275076 |
description | Calculation of mass properties for triangle meshes |
homepage | |
repository | https://codeberg.org/mo8it/polyhedral_mass_properties |
max_upload_size | |
id | 1335837 |
size | 58,103 |
Calculates the mass properties (mass, center of mass and inertia matrix/tensor) of triangle meshes.
The algorithm is based on the paper "Computing the Moment of Inertia of a Solid Defined by a Triangle Mesh" by Michael Kallay (Code).
Documentation with examples is available on docs.rs 📚️
The binary mass-props
uses this library to calculate the mass properties of meshes in glTF files.
You can try it out to test the output of this library.