Cell.to_vertices_and_faces

Cell.to_vertices_and_faces()

Return the vertices and faces of a mesh.

Returns

tuple – A 2-tuple containing

  • a list of vertices, represented by their XYZ coordinates, and

  • a list of faces.

Each face is a list of indices referencing the list of vertex coordinates.

Examples

>>>