Bitbybit Docs
    Preparing search index...

    Class SnakeTableDto (Things.Furniture.Tables.SnakeTable)

    The parameter set for the Snake Table, matching the Snake Chair. Generic in its value types so the same list can be expressed for a plain script, where every value is a number, and for a driven model, where a value can be an expression or a bound input. Concrete DTOs fill those type parameters in; read this class for what the model is actually shaped by.

    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: Point3
      • Optionaldirection: Vector3

      Returns SnakeTableDto

    Properties

    height: number

    Высота стола

    0.74
    

    0

    Infinity

    0.01

    width: number

    Ширина стола

    1
    

    0

    Infinity

    0.01

    length: number

    Длина стола

    2
    

    0

    Infinity

    0.01

    supportLength: number

    Длина опоры

    0.5
    

    0

    Infinity

    0.01

    shelfHeight: number

    Высота полки

    0.2
    

    0

    Infinity

    0.01

    thickness: number

    Толщина стола

    0.05
    

    0.01

    Infinity

    0.01

    glassThickness: number

    Толщина стекла

    0.005
    

    0.001

    Infinity

    0.001

    glassOffset: number

    Отступ стекла - выходит за пределы ширины и длины

    0
    

    0

    Infinity

    0.01

    nrOrnamentPlanks: number

    Число декоративных планок

    7
    

    1

    Infinity

    1

    ornamentDepth: number

    Глубина орнамента стола

    0.01
    

    0.001

    Infinity

    0.001

    filletRadius: number

    Радиус скругления

    0.05
    

    0.001

    Infinity

    0.01

    precision: number

    Точность построения меша отрисовываемой модели. Чем меньше число, тем точнее отрисованная модель. Имейте в виду, что результат этого алгоритма также содержит чистую форму occt, меш которой можно построить отдельно в командах draw any async

    0.01
    

    0.000001

    5

    0.001

    drawEdges: boolean

    Определяет, нужно ли отрисовывать ребра модели

    true
    
    rotation: number

    Поворот стола в градусах

    0
    

    0

    Infinity

    10

    scale: number

    Масштаб стола

    1
    

    0

    Infinity

    origin: Point3

    Начало координат медали

    [0, 0, 0]
    
    direction: Vector3

    Направление модели

    [0, 1, 0]