slice_model
Slice STL/3MF/STEP files to G-code using named OrcaSlicer presets, with fallback to GUI settings. Returns print time, filament estimates, and actual nozzle/bed temperatures.
Instructions
Slice an STL/3MF/STEP file to G-code headlessly using named OrcaSlicer presets (see list_profiles). Any preset or bed_type left unset defaults to the project currently open in the OrcaSlicer GUI (see gui_project_state) — the user's on-screen choices win over guesses. Returns G-code path(s) plus numeric print time / filament estimates and the ACTUAL bed/nozzle temps from the G-code. orient=True lets Orca pick the orientation — leave off if the model is already oriented correctly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | ||
| orient | No | ||
| arrange | No | ||
| printer | No | ||
| process | No | ||
| bed_type | No | ||
| filament | No | ||
| rotate_z | No | ||
| model_path | Yes | ||
| output_dir | No |