Bitbybit Docs
    Preparing search index...

    Class CalmCupDto (Things.ThreeDPrinting.Cups.CalmCup)

    The parameter set for the Calm Cup, a shelled parametric cup with handles. 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
      • Optionalthickness: number
      • Optionalfillet: number
      • OptionalnrOfHandles: number
      • OptionalhandleDist: number
      • Optionalprecision: number
      • Optionalrotation: number
      • Optionalscale: number
      • Optionalorigin: Point3
      • Optionaldirection: Vector3

      Returns CalmCupDto

    Properties

    height: number

    Высота чашки

    6
    

    0.1

    Infinity

    0.1

    radiusBottom: number

    Смещение верхнего радиуса

    4
    

    0

    Infinity

    0.1

    radiusTopOffset: number

    Смещение верхнего радиуса

    2
    

    0

    Infinity

    0.1

    thickness: number

    Толщина чашки

    0.6
    

    0.05

    3

    0.01

    fillet: number

    Скругление чашки

    0.2
    

    0.01

    Infinity

    0.01

    nrOfHandles: number

    Число ручек, 0 создаст чашку без ручек

    1
    

    0

    2

    1

    handleDist: number

    Расстояние ручки от чашки

    2
    

    0.1

    Infinity

    0.1

    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]