ForceVolMesh.to_vertices_and_cells

ForceVolMesh.to_vertices_and_cells()

Return the vertices and cells of a volmesh.

Returns

  • list[list[float]] – A list of vertices, represented by their XYZ coordinates.

  • list[list[list[int]]] – A list of cells, with each cell a list of faces, and each face a list of vertex indices.