Bitbybit Docs
    Preparing search index...

    Class PathAppendArcDto (Inputs.JSCAD)

    Feeds path.appendArc: an open 2D path with at least one point, the point the arc ends on, the ellipse the arc is cut from and which of the four fitting arcs to take.

    Index

    Constructors

    • Parameters

      • Optionalpath: JSCADEntity
      • OptionalendPoint: Point2
      • OptionalxAxisRotation: number
      • Optionalclockwise: boolean
      • Optionallarge: boolean
      • Optionalsegments: number
      • OptionalradiusX: number
      • OptionalradiusY: number

      Returns PathAppendArcDto

    Properties

    The open 2D path to extend, with at least one point; the arc starts at its last point

    undefined
    
    endPoint: Point2

    Where the arc ends, as a 2D point in the XY plane

    [1, 1]
    
    xAxisRotation: number

    Tilt of the ellipse the arc is cut from, in degrees from the X axis; it changes nothing for a circle

    90
    

    -Infinity

    Infinity

    1

    clockwise: boolean

    When true, the arc turns clockwise from the start to the end point; false turns counter-clockwise

    true
    
    large: boolean

    When true, the longer of the two arcs between the points is taken, more than half the ellipse

    false
    
    segments: number

    Number of straight pieces for a full ellipse; the arc gets its proportional share

    24
    

    0

    Infinity

    1

    radiusX: number

    Half width of the ellipse along its own X axis, in model units; scaled up when too small to reach the end point

    1
    

    -Infinity

    Infinity

    0.1

    radiusY: number

    Half height of the ellipse along its own Y axis, in model units; equal to radiusX for a circular arc

    1
    

    -Infinity

    Infinity

    0.1