mesh_info
Report an STL's triangle count, bounding box, size, and volume, and warn when dimensions or volume suggest wrong units or a non-closed mesh.
Instructions
Report an STL's triangle count, bounding box, size (mm) and volume (mm3 and ml).
Warns about sizes that suggest the wrong units and volumes that suggest the mesh is not a closed solid. Volume is the CLI's signed-volume sum, which cannot tell a closed mesh from an open one that happens to integrate sensibly; it does not report watertightness itself. The absence of the fill-ratio warning therefore proves nothing about whether the mesh is closed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stl_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| source | Yes | What the CLI read: stl, voxl or directory | |
| size_mm | Yes | ||
| bbox_max | Yes | ||
| bbox_min | Yes | mm, in the file's own coordinate frame | |
| vertices | Yes | Unwelded: three per triangle | |
| warnings | No | ||
| triangles | Yes | ||
| volume_ml | Yes | volume_mm3 / 1000: the resin a solid print needs | |
| volume_mm3 | Yes | Signed-volume integral, absolute value |