Inspect model geometry
bambu_inspect_modelParses STL, 3MF, or OBJ files to report triangle count, bounding box, volume, surface area, closed-mesh status, and part details, helping verify model geometry and printability.
Instructions
Parses an STL (binary or ASCII), 3MF or OBJ and reports triangle count, bounding box, volume, surface area, and whether the mesh is closed. The format is detected from the file content, not the extension. For 3MF and OBJ it also reports the part count and part list (3MF coordinates have the placement transform applied; OBJ is split into parts by o / g, and Tinkercad's colour export is OBJ). Reads only files inside the allowed directories. No side effects.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"modelPath": "<modelPath>"
},
"name": "bambu_inspect_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modelPath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parts | No | ||
| closed | Yes | ||
| format | No | The format actually detected, based on the content rather than the file extension. | |
| openEdges | Yes | ||
| partCount | No | ||
| volumeMm3 | Yes | ||
| boundingBox | Yes | ||
| triangleCount | Yes | ||
| surfaceAreaMm2 | Yes | ||
| degenerateTriangles | Yes |