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

    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

    Height of the table

    0.74
    

    0

    Infinity

    0.01

    width: number

    Width of the table

    1
    

    0

    Infinity

    0.01

    length: number

    Length of the table

    2
    

    0

    Infinity

    0.01

    supportLength: number

    The length of the support

    0.5
    

    0

    Infinity

    0.01

    shelfHeight: number

    The height of the shelf

    0.2
    

    0

    Infinity

    0.01

    thickness: number

    The thickness of the table

    0.05
    

    0.01

    Infinity

    0.01

    glassThickness: number

    The thickness of the glass

    0.005
    

    0.001

    Infinity

    0.001

    glassOffset: number

    The glass offset - goes beyond width and length limitations

    0
    

    0

    Infinity

    0.01

    nrOrnamentPlanks: number

    The number of ornament planks

    7
    

    1

    Infinity

    1

    ornamentDepth: number

    The ornament depth of the table

    0.01
    

    0.001

    Infinity

    0.001

    filletRadius: number

    The radius of the fillet

    0.05
    

    0.001

    Infinity

    0.01

    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.01
    

    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]