Bitbybit Docs
    Preparing search index...

    Class CuboidDto (Inputs.JSCAD)

    Feeds shapes.cuboid: a box with faces parallel to the axes, given by its center point and its sizes along X, Y and Z.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalcenter: Point3
      • Optionalwidth: number
      • Optionallength: number
      • Optionalheight: number

      Returns CuboidDto

    Properties

    center: Point3

    The point the box is centered on, so half of each size lies on each side of it

    [0, 0, 0]
    
    width: number

    Full size along X, in model units

    1
    

    0

    Infinity

    0.1

    length: number

    Full size along Z, in model units

    1
    

    0

    Infinity

    0.1

    height: number

    Full size along Y, in model units

    1
    

    0

    Infinity

    0.1