pymeshfix.MeshFix.repair#
- MeshFix.repair(verbose=False, joincomp=False, remove_smallest_components=True)#
Performs mesh repair using MeshFix’s default repair process.
- Parameters:
verbose (bool, optional) – Enables or disables debug printing. Disabled by default.
joincomp (bool, optional) – Attempts to join nearby open components.
remove_smallest_components (bool, optional) – Remove all but the largest isolated component from the mesh before beginning the repair process. Default
True
Notes
Vertex and face arrays are updated inplace. Access them with:
Meshfix.points
Meshfix.faces
Examples
Repair using the verbose option
>>> meshfix.repair(verbose=True)