add_mesh_chamfer
Adds flat bevels to sharp edges of 3D models, improving printability and reducing stress concentration.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| distance_mm | No | ||
| output_path | No | ||
| angle_threshold_deg | No |