Cell.to_vertices_and_faces

Cell.to_vertices_and_faces()

Return the vertices and faces of a mesh.

Returns

  • list[list[float]] – The vertices as a list of XYZ coordinates.

  • list[list[int]] – The faces as a list of lists of vertex indices.