Bitbybit Docs
    Preparing search index...

    Class DragonCupDto (Things.ThreeDPrinting.Cups.DragonCup)

    The parameter set for the Dragon Cup, a cup carrying a scaled surface pattern. 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
      • OptionalradiusBottom: number
      • OptionalradiusTopOffset: number
      • OptionalradiusMidOffset: number
      • OptionalrotationTopAngle: number
      • OptionalrotationMidAngle: number
      • OptionalnrSkinCellsVertical: number
      • OptionalnrSkinCellsHorizontal: number
      • OptionalnrSkinCellDivisionsTop: number
      • OptionalnrSkinCellDivisionsBottom: number
      • OptionalskinCellOuterHeight: number
      • OptionalskinCellInnerHeight: number
      • OptionalskinCellBottomHeight: number
      • OptionalskinCellTopHeight: number
      • Optionalthickness: number
      • OptionalbottomThickness: number
      • Optionalprecision: number
      • Optionalrotation: number
      • Optionalscale: number
      • Optionalorigin: Point3
      • Optionaldirection: Vector3

      Returns DragonCupDto

    Properties

    height: number

    杯子的高度

    6
    

    0.1

    Infinity

    0.1

    radiusBottom: number

    顶部半径偏移

    4
    

    0

    Infinity

    0.1

    radiusTopOffset: number

    顶部半径偏移

    2
    

    0

    Infinity

    0.1

    radiusMidOffset: number

    中部半径偏移

    2
    

    0

    Infinity

    0.1

    rotationTopAngle: number

    顶部相对中部的旋转(角度,以度为单位)

    20
    

    -90

    90

    1

    rotationMidAngle: number

    中部相对底部的旋转(角度,以度为单位)

    20
    

    -90

    90

    1

    nrSkinCellsVertical: number

    沿竖直方向的表皮单元数

    5
    

    1

    Infinity

    1

    nrSkinCellsHorizontal: number

    沿水平方向的表皮单元数

    10
    

    3

    Infinity

    1

    nrSkinCellDivisionsTop: number

    杯子顶部的表皮单元分段数

    1
    

    1

    Infinity

    1

    nrSkinCellDivisionsBottom: number

    杯子底部的表皮单元分段数

    3
    

    1

    Infinity

    1

    skinCellOuterHeight: number

    表皮单元外部高度

    0.4
    

    -Infinity

    Infinity

    0.01

    skinCellInnerHeight: number

    表皮单元内部高度

    0.3
    

    -Infinity

    Infinity

    0.01

    skinCellBottomHeight: number

    表皮单元底部高度

    0.4
    

    -Infinity

    Infinity

    0.01

    skinCellTopHeight: number

    表皮单元顶部高度

    0.4
    

    -Infinity

    Infinity

    0.01

    thickness: number

    杯子的厚度

    0.6
    

    0.05

    Infinity

    0.01

    bottomThickness: number

    杯子的底部厚度

    1
    

    0.05

    Infinity

    0.01

    precision: number

    所绘制模型的网格化精度。缩放也会缩放精度。数值越小,绘制的模型越精确。请注意,该算法的输出还包含纯 occt 形状,可以在 draw any async 命令中单独网格化

    0.01
    

    0.000001

    5

    0.001

    rotation: number

    杯子的旋转

    0
    

    0

    Infinity

    10

    scale: number

    杯子的缩放 - 影响边宽和精度

    1
    

    0

    Infinity

    10

    origin: Point3

    奖牌的原点

    [0, 0, 0]
    
    direction: Vector3

    模型的方向

    [0, 1, 0]