predict_print_failure
Analyze mesh geometry to predict common 3D printing failures such as thin walls, unsupported bridges, and overhangs; return a risk score with detailed fixes.
Instructions
Predict common 3D printing failure modes from mesh geometry.
Analyzes the mesh for thin walls, long unsupported bridges,
severe overhangs, top-heavy geometry, small features, and
non-manifold issues. Returns a risk score (0-100) and
per-failure details with fix suggestions.
The thin-wall floor follows the nozzle: two lines of it, so 0.8 mm for
a 0.4 mm nozzle and 1.2 mm for a 0.6. The answer says which nozzle it
was judged for and where that size came from.
:param file_path: Path to mesh file (.stl, .obj, .glb, or .3mf).
:param min_wall_mm: Minimum printable wall thickness. Leave it out to
use two lines of the nozzle.
:param max_bridge_mm: Maximum unsupported bridge length (default 15).
:param max_overhang_deg: Maximum overhang angle before failure (default 55).
:param printer_id: The printer the part is for. Left out, the only
printer Kiln knows of stands in.
:param nozzle_mm: The nozzle fitted, when you know it. Left out, the
nozzle on record for the printer, then the printer's own setting,
then its stock size.
:returns: Dict with verdict, risk score, failure list, the wall floor
used and the nozzle it was judged for.
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": {
"file_path": "<file_path>"
},
"name": "predict_print_failure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to mesh file (.stl, .obj, .glb, or .3mf). | |
| nozzle_mm | No | The nozzle fitted, when you know it. Left out, the nozzle on record for the printer, then the printer's own setting, then its stock size. | |
| printer_id | No | The printer the part is for. Left out, the only printer Kiln knows of stands in. | |
| min_wall_mm | No | Minimum printable wall thickness. Leave it out to use two lines of the nozzle. | |
| max_bridge_mm | No | Maximum unsupported bridge length (default 15). Default: 15.0. | |
| max_overhang_deg | No | Maximum overhang angle before failure (default 55). Default: 55.0. |