OCCBrep.from_polygons

classmethod OCCBrep.from_polygons(polygons, solid=True)

Construct a BRep from a set of polygons.

Parameters:
polygonslist[compas.geometry.Polygon]

The input polygons.

solidbool, optional

Flag indicating that if the resulting shape should be converted to a solid, if possible.

Returns:
compas_occ.brep.OCCBrep