FormDiagram.from_polygons¶
-
classmethod
FormDiagram.
from_polygons
(polygons, precision=None)¶ 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.