Bitbybit Docs
    Preparing search index...

    Class PhoneNestDto (Things.ThreeDPrinting.Desktop.PhoneNest)

    The parameter set for the Phone Nest desk stand. 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

      • OptionalheightBottom: number
      • OptionalheightTop: number
      • OptionalwidthBack: number
      • OptionalwidthFront: number
      • Optionallength: number
      • OptionalbackOffset: number
      • Optionalthickness: number
      • OptionalapplyOrnaments: boolean
      • OptionalfilletRadius: number
      • OptionalphoneHeight: number
      • OptionalphoneWidth: number
      • OptionalphoneThickness: number
      • Optionalprecision: number
      • OptionaldrawEdges: boolean
      • Optionalrotation: number
      • Optionalscale: number
      • Optionalorigin: Point3
      • Optionaldirection: Vector3

      Returns PhoneNestDto

    Properties

    heightBottom: number

    手机支架底部的高度

    5
    

    0

    Infinity

    0.01

    heightTop: number

    手机支架顶部的高度

    16
    

    0

    Infinity

    0.1

    widthBack: number

    手机支架背面的宽度

    25
    

    0

    Infinity

    0.1

    widthFront: number

    手机支架正面和托架的宽度

    10
    

    0

    Infinity

    0.1

    length: number

    支架底座的长度

    16
    

    0

    Infinity

    0.1

    backOffset: number

    背面偏移

    6
    

    0

    Infinity

    0.1

    thickness: number

    桌子的厚度

    0.4
    

    0.01

    Infinity

    0.01

    applyOrnaments: boolean

    应用最终装饰

    false
    
    filletRadius: number

    圆角的半径

    2
    

    0.001

    Infinity

    0.1

    phoneHeight: number

    手机的高度

    16.8
    

    0

    Infinitypho

    0.01

    phoneWidth: number

    手机的宽度

    7.8
    

    0

    Infinity

    0.01

    phoneThickness: number

    手机的厚度

    0.7
    

    0

    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]