Bitbybit Docs
    Preparing search index...

    Class SnakeTableDto (Things.Furniture.Tables.SnakeTable)

    Parameters of things.furniture.tables.snakeTable.create. The sizes, foot and shelf height shape the bent profile, the board, groove and bend values shape the body, the glass values the top, and rotation, scale, direction and origin place the table.

    Implements

    Index

    Constructors

    • Parameters

      • Optionalheight: number
      • Optionalwidth: number
      • Optionallength: number
      • OptionalsupportLength: number
      • OptionalshelfHeight: number
      • Optionalthickness: number
      • OptionalglassThickness: number
      • OptionalglassOffset: number
      • OptionalnrOrnamentPlanks: number
      • OptionalornamentDepth: number
      • OptionalfilletRadius: number
      • Optionalprecision: number
      • OptionaldrawEdges: boolean
      • Optionalrotation: number
      • Optionalscale: number
      • Optionalorigin: Bit.Inputs.Base.Point3
      • Optionaldirection: Vector3

      Returns SnakeTableDto

    Properties

    height: number

    Height of the table from the ground to the top of the glass, in model units. It must be more than twice thickness, and the bend radius less than half of it.

    0.74
    

    0

    Infinity

    0.01

    width: number

    Width of the table across the bent profile, along Z, in model units.

    1
    

    0

    Infinity

    0.01

    length: number

    Length of the table along the bent profile, along X, in model units. It must be more than twice thickness, and the bend radius less than half of it.

    2
    

    0

    Infinity

    0.01

    supportLength: number

    Length of the foot that rests on the ground, centered under the table, in model units. The lower riser rises from its back end.

    0.5
    

    0

    Infinity

    0.01

    shelfHeight: number

    Distance from the top of the table down to the shelf, in model units.

    0.2
    

    0

    Infinity

    0.01

    thickness: number

    Thickness of the bent board, in model units.

    0.05
    

    0.01

    Infinity

    0.01

    glassThickness: number

    Thickness of the glass panel on top, in model units.

    0.005
    

    0.001

    Infinity

    0.001

    glassOffset: number

    How far the glass reaches past the edges of the top, in model units. 0 makes the glass the same size as the top.

    0
    

    0

    Infinity

    0.01

    nrOrnamentPlanks: number

    Number of planks the board is split into across its width by the grooves.

    7
    

    1

    Infinity

    1

    ornamentDepth: number

    Depth of the grooves between the planks, in model units.

    0.01
    

    0.001

    Infinity

    0.001

    filletRadius: number

    Radius of the rounded bends between the foot, risers, shelf and top, in model units.

    0.05
    

    0.001

    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.01
    

    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]