add_mesh_fillet
Rounds sharp edges on STL meshes to reduce stress risers and improve print success. Set fillet radius and angle threshold.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| radius_mm | No | ||
| output_path | No | ||
| angle_threshold_deg | No |