Bitbybit Docs
    Preparing search index...

    Class GoodCoffeeTableDto (Things.Furniture.Tables.GoodCoffeeTable)

    Parameters of things.furniture.tables.goodCoffeeTable.create. The sizes shape the top frame and glass, the shelf and leg values shape the parts below, the values must fit inside each other, and rotation, scale, direction and origin place the table.

    Implements

    Index

    Constructors

    • Parameters

      • Optionalheight: number
      • Optionalwidth: number
      • Optionallength: number
      • Optionalchamfer: number
      • OptionaltopThickness: number
      • OptionaltopGlassOffset: number
      • OptionalglassThickness: number
      • OptionalglassHolderLength: number
      • OptionalshelfTopOffset: number
      • OptionalshelfThickness: number
      • OptionallegWidth: number
      • OptionallegDepth: number
      • Optionalprecision: number
      • OptionaldrawEdges: boolean
      • Optionalrotation: number
      • Optionalscale: number
      • Optionalorigin: Bit.Inputs.Base.Point3
      • Optionaldirection: Vector3

      Returns GoodCoffeeTableDto

    Properties

    height: number

    Height of the table from the ground to its top surface, in model units. It must be more than topThickness.

    0.4
    

    0.1

    Infinity

    0.01

    width: number

    Width of the top along X, in model units. It must be more than twice legWidth and twice topGlassOffset plus glassHolderLength.

    1
    

    0

    Infinity

    0.1

    length: number

    Length of the top along Z, in model units. It must be more than twice legDepth and twice topGlassOffset plus glassHolderLength.

    1.2
    

    0

    Infinity

    0.1

    chamfer: number

    Size of the flat cuts on the edges of the top frame, the shelf and the legs, in model units. It must be less than half of every thickness and leg size.

    0.01
    

    0

    Infinity

    0.001

    topThickness: number

    Thickness of the top frame, in model units. It must be more than twice glassThickness.

    0.05
    

    0.001

    Infinity

    0.001

    topGlassOffset: number

    Width of the wooden frame between the table's edge and the glass, in model units.

    0.2
    

    0

    Infinity

    0.01

    glassThickness: number

    Thickness of the glass panel, in model units. The glass sits flush with the top surface.

    0.005
    

    0.001

    Infinity

    0.001

    glassHolderLength: number

    How far the ledge under the glass reaches in from the frame, in model units. It must be at least glassThickness.

    0.02
    

    0.001

    Infinity

    0.001

    shelfTopOffset: number

    Gap between the underside of the top and the top of the shelf, in model units. 0 builds no shelf, and the shelf must stay above the ground.

    0.15
    

    0

    Infinity

    0.01

    shelfThickness: number

    Thickness of the shelf, in model units. The shelf spans the full width and the length between the legs.

    0.03
    

    0.001

    Infinity

    0.001

    legWidth: number

    Size of each leg along X, in model units.

    0.1
    

    0.01

    Infinity

    0.01

    legDepth: number

    Size of each leg along Z, in model units. It must be less than topGlassOffset plus glassHolderLength.

    0.05
    

    0.01

    Infinity

    0.01

    precision: number

    Meshing precision used when the table is drawn without options, multiplied by scale. It must be above 0; building the shapes does not use it.

    0.001
    

    0.000001

    5

    0.001

    drawEdges: boolean

    Whether edges are drawn when the table is drawn without options. Building the shapes ignores it.

    true
    
    rotation: number

    Turn of the table around the Y axis, in degrees, applied before it is aligned to direction and moved to origin.

    0
    

    0

    Infinity

    10

    scale: number

    Uniform scale factor, applied around origin after the table is placed. Drawing without options also multiplies the edge width and precision by it.

    1
    

    0

    Infinity

    Point on the ground under the center of the table that it is moved to.

    [0, 0, 0]
    
    direction: Vector3

    Direction the table's up axis points along after placement. The default keeps it upright along Y.

    [0, 1, 0]