Mesh.faces

Mesh.faces(data=False)[source]

Iterate over the faces of the mesh.

Parameters

data (bool, optional) – Return the face data as well as the face keys.

Yields

int or tuple – The next face identifier, if data is False. The next face as a (fkey, attr) tuple, if data is True.