Mesh.vertex_faces

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

The faces connected to a vertex.

Parameters:
keyint

The identifier of the vertex.

orderedbool, optional

If True, return the faces in cycling order.

include_nonebool, optional

If True, include outside faces in the list.

Returns:
list[int]

The faces connected to a vertex.