slice_and_estimate
Slice a 3D model to get print time, filament usage, cost, printability analysis, and adhesion recommendations.
Instructions
Primary estimation tool — slice a 3D model and return time, filament, cost, and printability analysis.
For G-code files (already sliced), use ``estimate_cost`` instead.
For quick volume-based estimates without slicing, use ``estimate_material_cost``.
Slices the model using PrusaSlicer or OrcaSlicer, parses the
output G-code for time and filament metadata, runs printability
analysis (for STL/OBJ/3MF inputs), and returns adhesion
recommendations — all without uploading or starting a print.
Use this tool to answer "how long will this take?" or "how much
filament will I use?" before committing to a print job.
Args:
input_path: Path to the input file (STL, OBJ, 3MF, STEP, AMF).
printer_id: Optional printer model ID for bundled profile
auto-selection (e.g. ``"bambu_a1"``, ``"prusa_mini"``).
profile: Path to a slicer profile/config file (.ini or .json).
Takes precedence over ``printer_id`` auto-selection.
material: Filament material for weight and adhesion estimates
(e.g. ``"PLA"``, ``"PETG"``, ``"ABS"``). Default is
``"PLA"``.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | ||
| material | No | PLA | |
| input_path | Yes | ||
| printer_id | No |