BaseMesh.from_polygons
-
classmethod
BaseMesh.
from_polygons
(polygons, precision=None)[source] Construct a mesh from a series of polygons.
- Parameters
polygons (list) – 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.
- Returns
Mesh – A mesh object.