Bitbybit Docs
    Preparing search index...

    Class CubeDto (Inputs.OCCT)

    The side of a cube and where it sits, for shapes.solid.createCube.

    Index

    Constructors

    Properties

    Constructors

    Properties

    size?: number

    The length of every side, in model units.

    1
    

    0

    true

    Infinity

    0.1

    The point the cube is centered on, or stands on when originOnCenter is false.

    [0, 0, 0]
    
    originOnCenter?: boolean

    When true, the cube is centered on center; when false it stands on it, so center is the middle of the bottom face.

    true