m3sh.hds.Mesh.

delete_face#

Mesh.delete_face(face, del_isolated_verts=True)#

Delete face.

Vertices of face rendered isolated by the combinatorial face removal can be kept as isolated vertices or be marked as deleted.

Parameters:
faceFace or int

Face identifier.

del_isolated_vertsbool, optional

Mark isolated vertices for deletion.

Notes

The deleted face is not removed from the mesh’s face container immediately. It is marked as deleted and removed from the face container when calling clean().