Skip to main content

ellipse()

Draws an ellipse at the current position.

Returns: ExtrudableGeometry

tip

See the guide for detailed usage examples.

Signatures

ellipse(rx: NumberParam, ry: NumberParam): ExtrudableGeometry

Draws an ellipse at the current position.

ParameterTypeDescription
rxNumberParamSemi-radius along the plane's X axis
ryNumberParamSemi-radius along the plane's Y axis

ellipse(center: Point2DLike, rx: NumberParam, ry: NumberParam): ExtrudableGeometry

Draws an ellipse at a given center.

ParameterTypeDescription
centerPoint2DLikeThe center point
rxNumberParamSemi-radius along the plane's X axis
ryNumberParamSemi-radius along the plane's Y axis

ellipse(targetPlane: SceneObject | PlaneLike, rx: NumberParam, ry: NumberParam): ExtrudableGeometry

Draws an ellipse on a specific plane.

ParameterTypeDescription
targetPlaneSceneObject | PlaneLikeThe plane to draw on
rxNumberParamSemi-radius along the plane's X axis
ryNumberParamSemi-radius along the plane's Y axis

ellipse(targetPlane: SceneObject | PlaneLike, center: Point2DLike, rx: NumberParam, ry: NumberParam): ExtrudableGeometry

Draws an ellipse at a given center on a specific plane.

ParameterTypeDescription
targetPlaneSceneObject | PlaneLikeThe plane to draw on
centerPoint2DLikeThe center point in plane-local coordinates
rxNumberParamSemi-radius along the plane's X axis
ryNumberParamSemi-radius along the plane's Y axis