bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    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

    Height of the table

    0.74
    

    0.1

    Infinity

    0.01

    width: number

    Width of the table

    1
    

    0

    Infinity

    0.1

    length: number

    Length of the table

    2
    

    0

    Infinity

    0.1

    topThickness: number

    Top thickness of the table

    0.02
    

    0.001

    Infinity

    0.001

    topOffset: number

    Top offset from the base of the table

    0.03
    

    0

    Infinity

    0.01

    bottomThickness: number

    Bottom thickness of the table

    0.05
    

    0.01

    Infinity

    0.01

    minFillet: number

    Fillet table corners

    0.2
    

    0

    Infinity

    0.1

    radiusLegTop: number

    Radius leg top

    0.03
    

    0.01

    Infinity

    0.01

    radiusLegBottom: number

    Radius leg top

    0.01
    

    0.01

    Infinity

    0.01

    nrLegPairs: number

    The number of leg pairs of the table

    2
    

    2

    Infinity

    1

    precision: number

    Meshing precision of the drawn model. The lower the number the more precise the drawn model is. Keep in mind that output of this algorithm also contains pure occt shape that can be meshed separately in draw any async commands

    0.001
    

    0.000001

    5

    0.001

    drawEdges: boolean

    Defines if the edges of the model should be drawn

    true
    
    rotation: number

    Rotation of the table in degrees

    0
    

    0

    Infinity

    10

    scale: number

    Scale of the table

    1
    

    0

    Infinity

    origin: Point3

    Origin of the medal

    [0, 0, 0]
    
    direction: Vector3

    Direction of the model

    [0, 1, 0]