Optionalplane: PlaneNameOptionalorigin: number | PointInputProtected_ProtectedfirstProtectedpendingProtectedplaneProtectedpointerProtected_Protected_Protected_ProtectedbuildDraw an arc to a relative end point using a bulge factor.
Draw an arc to an absolute end point using a bulge factor (sagitta as fraction of half-chord).
Close the path with a straight line to the start point and return the Sketch.
Close the path by mirroring all edges about the line from first to last point.
Release all OCCT edges held by this sketcher.
Finish drawing and return the open-wire Sketch (does not close the path).
Draw an elliptical arc to a relative end point (SVG-style parameters).
Draw an elliptical arc to an absolute end point (SVG-style parameters).
Draw a half-ellipse arc to a relative end point with a given minor radius.
Draw a half-ellipse arc to an absolute end point with a given minor radius.
Draw a horizontal bulge arc of the given distance and bulge factor.
Draw a horizontal line of the given signed distance.
Draw a horizontal line to an absolute X coordinate.
Draw a horizontal sagitta arc of the given distance and bulge.
Draw a straight line by relative horizontal and vertical distances.
Draw a straight line to an absolute 2D point on the sketch plane.
Move the pen to an absolute 2D position before drawing any edges.
Draw a line in polar coordinates (distance and angle in degrees) from the current point.
Draw a line to a point given in polar coordinates [r, theta] from the origin.
Draw a circular arc to a relative end point, bulging by the given sagitta.
Draw a circular arc to an absolute end point, bulging by the given sagitta.
Draw a smooth cubic Bezier spline to a relative end point, blending tangent with the previous edge.
Draw a smooth cubic Bezier spline to an absolute end point, blending tangent with the previous edge.
Optionalconfig: SplineOptionsDraw a circular arc tangent to the previous edge, ending at a relative offset.
Draw a circular arc tangent to the previous edge, ending at an absolute point.
Draw a line tangent to the previous edge, extending by the given distance.
Draw a circular arc through a via-point to an end point, both given as relative distances.
Draw a vertical bulge arc of the given distance and bulge factor.
Draw a vertical line of the given signed distance.
Draw a vertical line to an absolute Y coordinate.
Draw a vertical sagitta arc of the given distance and bulge.
Build 2D wire profiles on a 3D plane using a builder-pen API.
The Sketcher converts relative/absolute 2D drawing commands into 3D edges projected onto the chosen plane, then assembles them into a Sketch.
Example
See