pymeshfix.MeshFix.clean#
- MeshFix.clean(max_iters: int = 10, inner_loops: int = 3) bool#
Remove degenerate triangles and self-intersections.
Iteratively calls
MeshFix.strong_degeneracy_removal()and :func:MeshFix.strong_intersection_removal to produce a clean mesh without degeneracies and intersections. The two aforementioned methods are called up to max_iter times and each of them is called using ‘inner_loops’ as a parameter. ReturnsTrueonly if the mesh could be completely cleaned.- Parameters:
max_iters