Mesh.vertices

Mesh.vertices(data=False)[source]

Iterate over the vertices of the mesh.

Parameters

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

Yields

int or tuple – The next vertex identifier, if data is false. The next vertex as a (key, attr) tuple, if data is true.