add_mesh_fillet
Add fillets (rounded transitions) at sharp edges of an STL mesh to reduce stress risers and improve 3D printability. Specify radius and angle threshold to control which edges are smoothed.
Instructions
Add fillets (rounded transitions) at sharp edges.
Detects edges where adjacent faces meet at a sharp angle and
inserts intermediate triangles to approximate a smooth fillet.
Reduces stress concentration at corners and improves printability.
Use after ``design_scorecard()`` flags sharp corners or
``predict_print_failures()`` detects stress risers.
:param file_path: Path to the STL file.
:param radius_mm: Fillet radius in mm (default 1.0).
:param angle_threshold_deg: Edges sharper than this get filleted (default 60).
:param output_path: Output path (defaults to ``<name>_filleted.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 | ||
| radius_mm | No | ||
| output_path | No | ||
| angle_threshold_deg | No |