Bitbybit Docs
    Preparing search index...

    Class SketchLineDto (Inputs.OCCT)

    A point to draw a straight segment to, for sketch.commands.line, which makes the command sketch.pen draws; the point is a sketch point, or an offset from the pen with relative.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

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

      Returns SketchLineDto

    Properties

    to?: Point2

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

    [10, 0]
    
    relative?: boolean

    When true, to is an offset from where the pen is rather than a point 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