Bitbybit Docs
    Preparing search index...

    Class RectangleDto (Inputs.JSCAD)

    Feeds polygon.rectangle: a filled rectangle in the XY plane with sides parallel to the axes, given by its 2D center, width along X and length along Y.

    Index

    Constructors

    Properties

    Constructors

    Properties

    center: Point2

    The 2D center point, as X and Y in the plane

    [0, 0]
    
    width: number

    Full size along X, in model units

    1
    

    -Infinity

    Infinity

    0.1

    length: number

    Full size along Y, in model units

    1
    

    -Infinity

    Infinity

    0.1