Bitbybit Docs
    Preparing search index...

    Class BoxFromCornerDto (Inputs.OCCT)

    The three sides of a box and its corner, for shapes.solid.createBoxFromCorner, which grows the box along the positive axes from there.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalwidth: number
      • Optionallength: number
      • Optionalheight: number
      • Optionalcorner: Point3

      Returns BoxFromCornerDto

    Properties

    width: number

    The side along X, in model units.

    1
    

    0

    Infinity

    0.1

    length: number

    The side along Z, in model units.

    2
    

    0

    Infinity

    0.1

    height: number

    The side along Y, which is up, in model units.

    3
    

    0

    Infinity

    0.1

    corner: Point3

    The corner with the smallest X, Y and Z; the box extends from it along the positive axes.

    [0, 0, 0]