Bitbybit Docs
    Preparing search index...

    Class SketchPenDto (Inputs.OCCT)

    A start point, the pen's commands and a frame for sketch.pen and sketch.penWithSegments, which draw one outline in the frame's plane as an exact wire, or a face when it closes.

    Index

    Constructors

    Properties

    Constructors

    Properties

    commands: SketchCommand[]

    The moves of the pen, drawn one after another from start.

    undefined
    
    start?: Point2

    Where the pen starts, in the sketch's x and y.

    [0, 0]
    

    The frame the sketch lies in, its direction the sketch's x axis and its normal out of the face. Left out, the ground, with the sketch's y axis along -Z.

    undefined
    

    true

    makeFace?: boolean

    When true, the closed outline becomes a face whose normal is the frame's normal.

    false