Polygon.to_brep

Polygon.to_brep()[source]

Returns a brep representation of the polygon.

Returns:
compas.geometry.Brep

A boundary representation of the polygon.