Bitbybit Docs
    Preparing search index...

    Class RectangleDto (Inputs.OCCT)

    A width, a length and a placement for shapes.wire.createRectangleWire and shapes.face.createRectangleFace.

    Index

    Constructors

    Properties

    width?: number

    The side along X on the ground plane, in model units, before the rectangle is turned to face direction.

    1
    

    0

    true

    Infinity

    1

    length?: number

    The side along Z on the ground plane, in model units, before the rectangle is turned to face direction.

    2
    

    0

    true

    Infinity

    1

    center?: Point3

    The point the rectangle is centered on.

    [0, 0, 0]
    
    direction?: Vector3

    The normal of the plane the rectangle lies in; the default lays it flat on the ground.

    [0, 1, 0]