HalfEdge.faces

HalfEdge.faces(data=False)[source]

Iterate over the faces of the mesh.

Parameters:
databool, optional

If True, yield the face attributes in addition to the face identifiers.

Yields:
int | tuple[int, dict[str, Any]]

If data is False, the next face identifier. If data is True, the next face as a (fkey, attr) tuple.