Circle.to_polygon
- Circle.to_polygon(n=16)[source]
- 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. 
 
 
Site Navigation
compas
compas_blender
compas_ghpython
compas_rhino
Convert the curve to a polygon.
The number of sides of the polygon.
Default is 16.
If the curve is not closed.