infer_print_settings
Analyzes an STL file's geometry to recommend optimized slicer parameters like perimeters, infill, and supports for a given material, reducing print failures.
Instructions
Infer optimal slicer settings from structural analysis.
Bridges the gap between **design analysis** and **print success**.
Analyzes the mesh for structural risks, then recommends concrete
slicer parameters (perimeters, infill, supports, brim, layer height)
tuned to compensate for the design's weaknesses.
**Examples of what it catches:**
- Thin neck detected → increase perimeters to 4+
- Cantilever overhangs → enable tree supports
- High center of gravity → add brim for bed adhesion
- Stress concentrations → switch to gyroid infill at 50%+
- Sharp corners → fine layer height for detail
Material-specific: defaults vary by PLA/PETG/ABS/Nylon/TPU/ASA/PC.
:param file_path: Path to the STL file.
:param material: Filament type (PLA, PETG, ABS, Nylon, TPU, ASA, PC).
:returns: Dict with perimeters, infill, supports, brim, layer height,
orientation, special notes, and confidence level.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | No | PLA | |
| file_path | Yes |