delete_face

Mesh.delete_face(face, del_isolated_verts=True)[source]

Delete face.

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

Parameters:
  • face (Face or int) – Face identifier.

  • del_isolated_verts (bool, optional) – Mark isolated vertices for deletion.

Note

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().