optimize_print_orientation
Auto-rotate an STL mesh to reduce overhangs and improve bed contact by evaluating multiple orientations and applying the highest printability score, then flatten on the build plate.
Instructions
Auto-rotate a mesh to minimize overhangs and maximize bed contact.
Tests multiple candidate orientations and picks the one with the
best printability score. Re-orients the mesh and places it flat
on the build plate (z_min = 0).
:param file_path: Path to the STL file.
:param output_path: Output path. Defaults to overwriting the input.
:returns: Dict with rotation angles, overhang stats, and new dimensions.INLINE 3D STAGE: on success this tool also 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| output_path | No |