WARNING: This function is experimental and may change or be removed.
Add a parabolic segment to an existing sketch.
Arguments
| Name | Type | Description | Required |
|---|---|---|---|
sketch | Sketch | Which sketch should this path be added to? | Yes |
end | Point2d | Where should the path end? Relative to the start point. Incompatible with interiorAbsolute or endAbsolute. | Yes |
endAbsolute | Point2d | Where should this segment end? Requires interiorAbsolute. Incompatible with interior or end. | No |
coefficients | [number; 3] | The coefficients [a, b, c] of the parabolic equation y = ax^2 + bx + c. Incompatible with interior. | No |
interior | Point2d | A point between the segment's start and end that lies on the parabola. Incompatible with coefficients or interiorAbsolute or endAbsolute. | No |
interiorAbsolute | Point2d | Any point between the segment's start and end. Requires endAbsolute. Incompatible with coefficients or interior or end. | No |
tag | TagDecl | Create a new tag which refers to this segment. | No |
Returns
Sketch - A sketch is a collection of paths.