Sketch Functions

Once you have a sketch, you can create and modify points and edges in it.

Sketch Properties
  • ConstructionPoint(x, y): Returns a new Point in the sketch.

  • Line(x1, y1, x2, y2): Returns a new Line in the sketch.

  • Circle(xc, yc, radius): Returns a new Circle in the sketch.

  • ArcCtrEdge(xc, yc, xbegin, ybegin, xend, yend): Returns a new Arc in the sketch.

  • EllipticalArc(xc, yc, xmax, ymax, xmin, ymin, xbegin, ybegin, xend, yend): Returns a new Elliptical Arc in the sketch.

  • EllipticalArc(xc, yc, xmax, ymax, xmin, ymin, xbegin, ybegin, xend, yend):

  • SplineBegin(): Returns an empty spline in the sketch. Then use the edge functions SplineXY and SplineFitPtEnd to finish defining it as a fit point spline. Functions SplineXYW, SplineKnot and SplineCtrlPtEnd are used to define a spline via control points, weights and knots.

  • Fillet(edge1, selx1, sely1, edge2, selx2, sely2, radius, trim): Returns the fillet (Arc or Circle) between the two edges near their selected ends.

  • Chamfer(edge1, selx1, sely1, edge2, selx2, sely2, offset, trim): Returns the chamfer (Line) between the two edges near their selected ends.

  • SplitEdge(edge, splitx, splity): Returns the new edge created by splitting the existing edge at the supplied location. The original edge is trimmed to that location.