Mesh.from_polygons
- classmethod Mesh.from_polygons(polygons, precision=None)
Construct a mesh from a series of polygons.
- Parameters
polygons (list[list[float]]) – A list of polygons, with each polygon defined as an ordered list of XYZ coordinates of its corners.
precision (str, optional) – The precision of the geometric map that is used to connect the lines. Defaults to
compas.PRECISION
.
- Returns
Mesh
– A mesh object.