Mesh.vertex_faces

Mesh.vertex_faces(key, ordered=False, include_none=False)[source]

The faces connected to a vertex.

Parameters
  • key (int) – The identifier of the vertex.

  • ordered (bool, optional) – If True, return the faces in cycling order.

  • include_none (bool, optional) – If True, include outside faces in the list.

Returns

list[int] – The faces connected to a vertex.