Create a regular polygon with the specified number of sides that is either inscribed or circumscribed around a circle of the specified radius.
Arguments
| Name | Type | Description | Required |
|---|---|---|---|
sketchOrSurface | Sketch or Plane or Face | Plane or surface to sketch on. | Yes |
radius | number(Length) | The radius of the polygon. | Yes |
numSides | number(_) | The number of sides in the polygon. | Yes |
center | Point2d | The center point of the polygon. | Yes |
inscribed | bool | Whether the polygon is inscribed (true, the default) or circumscribed (false) about a circle with the specified radius. | No |
Returns
Sketch - A sketch is a collection of paths.