repair_mesh_advanced
Repairs problematic 3D meshes by removing degenerate triangles, closing holes, and fixing boundary edges. Use when basic mesh repair fails to address open holes or boundary issues.
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 |