OCCNurbsCurve.to_polygon
- OCCNurbsCurve.to_polygon(n=16)
Convert the curve to a polygon.
- Parameters:
- nint, optional
The number of sides of the polygon. Default is
16
.
- Returns:
- Raises:
- ValueError
If the curve is not closed.
Convert the curve to a polygon.
The number of sides of the polygon.
Default is 16
.
If the curve is not closed.