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]