Skip to main content

eArc()

Draws an elliptical arc: an open piece of an ellipse, from a start point to an end point. The first three arguments read like arc(), the last three like ellipse(). It is a solver entity, so every literal is a guess the constraints drive: the ellipse's center, its two semi-radii (radius(ea, v, 'x') for RX, radius(ea, v, 'y') for RY) and the rotation of its RX axis (horizontal/vertical, tangent), and where along the ellipse each end sits. An end literal that is not exactly on the ellipse names the point of the ellipse in its direction. The arc runs counter-clockwise from start to end; chain .cw() to take the other side.

Returns: EllipticalArc

tip

See the guide for detailed usage examples.

Signatures​

eArc(startPoint: Point2DLike, endPoint: Point2DLike, centerPoint: Point2DLike, rx: NumberParam, ry: NumberParam, rotation?: NumberParam): EllipticalArc

Draws an elliptical arc: an open piece of an ellipse, from a start point to an end point. The first three arguments read like arc(), the last three like ellipse(). It is a solver entity, so every literal is a guess the constraints drive: the ellipse's center, its two semi-radii (radius(ea, v, 'x') for RX, radius(ea, v, 'y') for RY) and the rotation of its RX axis (horizontal/vertical, tangent), and where along the ellipse each end sits. An end literal that is not exactly on the ellipse names the point of the ellipse in its direction. The arc runs counter-clockwise from start to end; chain .cw() to take the other side.

ParameterTypeDescription
startPointPoint2DLikeThe start point (a guess, like every literal)
endPointPoint2DLikeThe end point
centerPointPoint2DLikeThe center of the ellipse the arc lies on
rxNumberParamSemi-radius guess along the ellipse's RX axis
ryNumberParamSemi-radius guess along the ellipse's RY axis
rotationNumberParamGuess for the RX axis's angle from the plane's X direction, degrees (default 0) (optional)