Mesh.is_valid
-
Mesh.
is_valid
()[source] Verify that the mesh is valid.
A mesh is valid if the following conditions are fulfilled:
halfedges don’t point at non-existing faces
all vertices are in the halfedge dict
there are no None-None halfedges
all faces have corresponding halfedge entries
- Returns
bool – True, if the mesh is valid. False, otherwise.