Polyhedron.to_vertices_and_faces

Polyhedron.to_vertices_and_faces()[source]

Returns a list of vertices and faces.

Returns

(vertices, faces) – A list of vertex locations and a list of faces, with each face defined as a list of indices into the list of vertices.