circle()
Draws a circle at a given center with an optional diameter.
Returns: ExtrudableGeometry
tip
See the guide for detailed usage examples.
Signatures
circle(center: Point2DLike, diameter?: number): ExtrudableGeometry
Draws a circle at a given center with an optional diameter.
| Parameter | Type | Description |
|---|---|---|
center | Point2DLike | The center point |
diameter | number | The circle diameter (defaults to 40) (optional) |
circle(diameter?: number): ExtrudableGeometry
Draws a circle at the origin with an optional diameter.
| Parameter | Type | Description |
|---|---|---|
diameter | number | The circle diameter (defaults to 40) (optional) |
note
All signatures also accept an optional targetPlane parameter as the last argument to draw on a specific plane.