VolMesh.from_vertices_and_cells
- classmethod VolMesh.from_vertices_and_cells(vertices, cells)
Construct a volmesh object from vertices and cells.
- Parameters
vertices (list[list[float]]) – Ordered list of vertices, represented by their XYZ coordinates.
cells (list[list[list[int]]]) – List of cells defined by their faces.
- Returns
compas.datastructures.VolMesh
– A volmesh object.