slice_hook
Generate named G-code 3MF files from STL or mesh-only 3MF using OrcaSlicer/Bambu Studio CLI, without uploading or printing.
Instructions
Slice an STL or mesh-only 3MF into {part}-{variant}-{rev}.gcode.3mf via OrcaSlicer / Bambu Studio CLI. Does not upload or print. Bare STL is allowed here only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rev | Yes | ||
| part | Yes | ||
| plate | No | ||
| orient | No | ||
| arrange | No | ||
| variant | Yes | ||
| settings | No | Semicolon-joined printer;process JSON presets (required for bare STL) | |
| filaments | No | ||
| inputPath | Yes | Local .stl / .step / mesh .3mf | |
| outputDir | No |