repair_mesh_advanced
Repairs STL meshes by removing degenerate elements, closing holes, and fixing boundary edges for 3D printing.
Instructions
Deep mesh repair: degenerate removal + hole closing + boundary edge fixes.
Use when ``repair_mesh`` (basic) is not enough -- e.g. mesh has open
holes or boundary edges. Goes beyond basic repair by finding boundary
edges (edges shared by only one triangle) and closing small holes via
fan triangulation.
:param file_path: Path to the STL file.
:param output_path: Output path. Defaults to overwriting the input.
:param close_holes: Whether to attempt closing holes (default True).
:returns: Dict with repair statistics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| close_holes | No | ||
| output_path | No |