mass-props-0.1.2 is not a library.
mass-props
CLI to calculate the mass properties (mass, center of mass and inertia matrix/tensor) of triangle meshes.
Built on the library polyhedral_mass_properties.
Currently, only gltf and glb files are supported.
Installation
Usage
Usage: mass-props [OPTIONS] <PATH>
Arguments:
<PATH> Path to a gltf/glb file
Options:
-d, --density <DENSITY> Default: 1.0
-m, --mesh <MESH> The mesh index in the glTF file [default: 0]
-h, --help Print help
Output
The output is in JSON.
Example: