Bitbybit Docs
    Preparing search index...

    Class SketchCubicDto (Inputs.OCCT)

    Two control points and a point to end at, for sketch.commands.cubic, which makes the cubic Bezier command sketch.pen draws from where the pen is.

    Index

    Constructors

    • Parameters

      • Optionalcontrol1: Point2
      • Optionalcontrol2: Point2
      • Optionalto: Point2
      • Optionalrelative: boolean
      • Optionalid: string

      Returns SketchCubicDto

    Properties

    control1?: Point2

    The point the curve leaves toward, in the sketch's x and y.

    [3, 5]
    
    control2?: Point2

    The point the curve arrives from, in the sketch's x and y.

    [7, 5]
    
    to?: Point2

    Where the curve ends, in the sketch's x and y.

    [10, 0]
    
    relative?: boolean

    When true, the control points and to are offsets from where the pen is rather than points of the sketch.

    false
    
    id?: string

    A name for the command, reported with the edges it draws; leave it out to be named by position.

    undefined
    

    true