OCCBrepLoop.from_polygon

classmethod OCCBrepLoop.from_polygon(polygon)

Construct a loop from a polygon.

Parameters:
polygoncompas.geometry.Polygon

The polygon.

Returns:
OCCBrepLoop