Bitbybit Docs
    Preparing search index...

    Class ElegantTableDto (Things.Furniture.Tables.ElegantTable)

    Parameters of things.furniture.tables.elegantTable.create. The sizes, thicknesses and rounding shape the top, the leg values shape the legs, and rotation, scale, direction and origin place the table.

    Implements

    Index

    Constructors

    • Parameters

      • Optionalheight: number
      • Optionalwidth: number
      • Optionallength: number
      • OptionaltopThickness: number
      • OptionaltopOffset: number
      • OptionalbottomThickness: number
      • OptionalminFillet: number
      • OptionalradiusLegTop: number
      • OptionalradiusLegBottom: number
      • OptionalnrLegPairs: number
      • Optionalprecision: number
      • OptionaldrawEdges: boolean
      • Optionalrotation: number
      • Optionalscale: number
      • Optionalorigin: Bit.Inputs.Base.Point3
      • Optionaldirection: Vector3

      Returns ElegantTableDto

    Properties

    height: number

    Height of the table from the ground to its top surface, in model units.

    0.74
    

    0.1

    Infinity

    0.01

    width: number

    Width of the table, in model units. The panels' outline is derived from it together with topOffset and bottomThickness.

    1
    

    0

    Infinity

    0.1

    length: number

    Length of the table, in model units. The panels' outline is derived from it together with topOffset and bottomThickness.

    2
    

    0

    Infinity

    0.1

    topThickness: number

    Thickness of the top panel, in model units. Its edge is beveled inward over the upper part of this thickness.

    0.02
    

    0.001

    Infinity

    0.001

    topOffset: number

    How far the top panel reaches out past the base panel on every side, in model units.

    0.03
    

    0

    Infinity

    0.01

    bottomThickness: number

    Thickness of the base panel under the top, in model units.

    0.05
    

    0.01

    Infinity

    0.01

    minFillet: number

    Corner radius of the panels' rounded-rectangle outline, in model units. It also moves the legs in from the corners.

    0.2
    

    0

    Infinity

    0.1

    radiusLegTop: number

    Radius of each leg where it meets the base panel, in model units.

    0.03
    

    0.01

    Infinity

    0.01

    radiusLegBottom: number

    Radius of each leg at the ground, in model units.

    0.01
    

    0.01

    Infinity

    0.01

    nrLegPairs: number

    Number of legs along each of two opposite sides. Each leg has a copy on the opposite side, so the table has twice this many legs.

    2
    

    2

    Infinity

    1

    precision: number

    Meshing precision used when the table is drawn without options, multiplied by scale. Building the shapes ignores 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]