rotate_model
Rotate STL or 3MF models by specified X, Y, or Z angles before slicing to improve print quality and reduce wobble artifacts.
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).INLINE 3D STAGE: on success this tool opens Kiln's interactive 3D stage — an inline viewer panel the user can orbit, zoom, and turn over — in hosts that render MCP Apps panels (Kiln's hosted connection attaches a browser stage link for hosts that don't). Oversized meshes are decimated automatically for the stage; the PNG preview is the floor, not the whole experience.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input_path": "<input_path>"
},
"name": "rotate_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | Path to the STL or 3MF file to rotate. | |
| rotation_x | No | Rotation around X axis in degrees. Default: 0.0. | |
| rotation_y | No | Rotation around Y axis in degrees. Default: 0.0. | |
| rotation_z | No | Rotation around Z axis in degrees (most common — rotates on the build plate). Default: 0.0. | |
| output_path | No | Where to save the rotated file. Defaults to ``<input>_rotated.<ext>``. |