add_mesh_chamfer
Add flat chamfers to sharp edges of STL meshes to reduce stress and improve printability. Returns chamfer stats and opens an interactive 3D preview.
Instructions
Add chamfers (flat bevels) at sharp edges.
Detects edges where adjacent faces meet at a sharp angle and
bevels them with a flat transition face. Chamfers are faster
to print than fillets and reduce stress concentration.
:param file_path: Path to the STL file.
:param distance_mm: Chamfer distance from edge in mm (default 0.5).
:param angle_threshold_deg: Edges sharper than this get chamfered (default 60).
:param output_path: Output path (defaults to ``<name>_chamfered.stl``).
:returns: Dict with sharp edge count, triangles added, and output path.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 | ||
| distance_mm | No | ||
| output_path | No | ||
| angle_threshold_deg | No |