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]