Bitbybit Docs
    Preparing search index...

    Class SquareDto (Inputs.OCCT)

    A side length and a placement for shapes.wire.createSquareWire and shapes.face.createSquareFace.

    Index

    Constructors

    Properties

    Constructors

    Properties

    size?: number

    The length of each side, in model units.

    1
    

    0

    true

    Infinity

    1

    center?: Point3

    The point the square is centered on.

    [0, 0, 0]
    
    direction?: Vector3

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

    [0, 1, 0]