Bitbybit Docs
    Preparing search index...

    Class ElegantTableDto (Things.Furniture.Tables.ElegantTable)

    The parameter set for the Elegant Table, with a profiled top and turned legs. 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
      • OptionaltopThickness: number
      • OptionaltopOffset: number
      • OptionalbottomThickness: number
      • OptionalminFillet: number
      • OptionalradiusLegTop: number
      • OptionalradiusLegBottom: number
      • OptionalnrLegPairs: number
      • Optionalprecision: number
      • OptionaldrawEdges: boolean
      • Optionalrotation: number
      • Optionalscale: number
      • Optionalorigin: Point3
      • Optionaldirection: Vector3

      Returns ElegantTableDto

    Properties

    height: number

    Высота стола

    0.74
    

    0.1

    Infinity

    0.01

    width: number

    Ширина стола

    1
    

    0

    Infinity

    0.1

    length: number

    Длина стола

    2
    

    0

    Infinity

    0.1

    topThickness: number

    Толщина столешницы

    0.02
    

    0.001

    Infinity

    0.001

    topOffset: number

    Отступ столешницы от основания стола

    0.03
    

    0

    Infinity

    0.01

    bottomThickness: number

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

    0.05
    

    0.01

    Infinity

    0.01

    minFillet: number

    Скругление углов стола

    0.2
    

    0

    Infinity

    0.1

    radiusLegTop: number

    Радиус верха ножки

    0.03
    

    0.01

    Infinity

    0.01

    radiusLegBottom: number

    Радиус верха ножки

    0.01
    

    0.01

    Infinity

    0.01

    nrLegPairs: number

    Число пар ножек стола

    2
    

    2

    Infinity

    1

    precision: number

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

    0.001
    

    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]