rotate_model
Rotate 3D models (STL or 3MF) by custom angles to improve print quality. Reduces wobble and ringing by adjusting model orientation before slicing.
Instructions
Rotate a 3D model file (STL or 3MF) by specified angles before slicing.
Useful for improving print quality — rotating a tall narrow part 45° around
the Z axis can reduce toolhead-induced wobble and ringing artifacts.
Args:
input_path: Path to the STL or 3MF file to rotate.
rotation_z: Rotation around Z axis in degrees (most common — rotates
on the build plate).
rotation_x: Rotation around X axis in degrees.
rotation_y: Rotation around Y axis in degrees.
output_path: Where to save the rotated file. Defaults to
``<input>_rotated.<ext>``.
Returns dict with ``output_path`` (path to rotated file) and
``rotations_applied``.
Pair with ``reslice_with_overrides`` to re-slice the rotated model with
adjusted settings (e.g., stronger brim after rotation).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | ||
| rotation_x | No | ||
| rotation_y | No | ||
| rotation_z | No | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||