brepjs API Reference
    Preparing search index...

    Class BlueprintSketcher

    Draw 2D curves and produce a Blueprint (pure-2D shape, no kernel wire).

    Use this when you need a reusable 2D profile that can later be sketched onto different planes or faces.

    Hierarchy (View Summary)

    Implements

    Index

    Drawing State

    Other

    _nextCorner: ((f: Curve2D, s: Curve2D) => Curve2D[]) | null
    firstPoint: Point2D
    pendingCurves: Curve2D[]
    pointer: Point2D
    • Draw an elliptical arc to a relative end point (SVG-style parameters).

      Parameters

      • xDist: number
      • yDist: number
      • horizontalRadius: number
      • verticalRadius: number
      • rotation: number = 0
      • longAxis: boolean = false
      • sweep: boolean = false

      Returns this

    • Draw an elliptical arc to an absolute end point (SVG-style parameters).

      Parameters

      • end: Point2D
      • horizontalRadius: number
      • verticalRadius: number
      • rotation: number = 0
      • longAxis: boolean = false
      • sweep: boolean = false

      Returns this