analyze_warping_risk
Predict 3D printing warping risk from model geometry and material thermal behavior, returning a risk level, adhesion needs, and mitigation recommendations.
Instructions
Analyze warping risk for a 3D model based on geometry and material.
Examines the mesh for warping risk factors: large flat surfaces that
tend to curl at corners, tall/narrow geometry prone to thermal
contraction pulling, and sharp base corners that lift. Cross-references
with the material's known warping tendency (from thermal properties).
Returns a risk assessment with:
- risk_level: "low", "moderate", "high", or "critical"
- large_flat_surfaces: detected flat areas prone to warping
- height_to_base_ratio: geometry aspect ratio risk factor
- material_warping_tendency: material's inherent warp behavior
- recommendations: actionable mitigation advice, led by the brim
or raft to use when the part calls for one
- adhesion: the brim / raft decision for this part (width, raft,
reason, slicer overrides) — the same one analyze_printability
reports
Args:
file_path: Path to a mesh (.stl, .obj, .glb, .3mf) or a CAD
file (.step, .stp), which is converted automatically.
material: Material ID (e.g. "pla", "abs", "petg"). Defaults to PLA.
Used to look up thermal warping tendency.
printer_id: Optional registered printer whose real geometry
and calibration should inform the analysis.
Examples:
analyze_warping_risk("/path/to/model.stl", material="abs")
analyze_warping_risk("/path/to/plate.stl") # defaults to PLA
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": "analyze_warping_risk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | No | Material ID (e.g. "pla", "abs", "petg"). Defaults to PLA. Used to look up thermal warping tendency. Default: "pla". | |
| file_path | Yes | Path to a mesh (.stl, .obj, .glb, .3mf) or a CAD file (.step, .stp), which is converted automatically. | |
| printer_id | No | Optional registered printer whose real geometry and calibration should inform the analysis. Default: "". |