ellipse()
Extrude an ellipse outline at layer height z.
The (x, y) anchor is interpreted per ellipseMode() (default CENTER). Draws an
outline only — there is no infill. Speed and extrusion come from the current
printSpeed() / extrusionMultiplier(); scope changes with push() / pop(), or use
beginShape() / vertex() to vary them along the path.
Parameters
| Name | Type | Description |
|---|---|---|
x | number | X position of the anchor in mm (interpreted per ellipseMode). |
y | number | Y position of the anchor in mm. |
z | number | Layer height in mm. |
w | number | Width in mm. |
h? | number | Height in mm. Defaults to w (a circle). Default: w. |
Examples
Syntax
fab.ellipse(x, y, z, w, [h])