simplify_mesh_model
Reduce STL mesh triangle count to create smaller files and faster previews via vertex-clustering decimation.
Instructions
Reduce mesh triangle count for faster preview or smaller files.
Uses vertex-clustering decimation to merge nearby vertices.
The result is a lower-resolution version of the same shape.
:param file_path: Path to the STL file.
:param target_ratio: Target fraction of original triangles (0.01-1.0).
:param output_path: Output path (defaults to ``<name>_simplified.stl``).
:returns: Dict with original/simplified triangle counts and reduction percentage.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 | ||
| target_ratio | No |