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

    Implements

    Index

    Constructors

    • Parameters

      • Optionalheight: number
      • Optionalwidth: number
      • Optionallength: number
      • Optionalchamfer: number
      • OptionaltopThickness: number
      • OptionaltopGlassOffset: number
      • OptionalglassThickness: number
      • OptionalglassHolderLength: number
      • OptionalshelfTopOffset: number
      • OptionalshelfThickness: number
      • OptionallegWidth: number
      • OptionallegDepth: number
      • Optionalprecision: number
      • OptionaldrawEdges: boolean
      • Optionalrotation: number
      • Optionalscale: number
      • Optionalorigin: Point3
      • Optionaldirection: Vector3

      Returns GoodCoffeeTableDto

    Properties

    height: number

    Height of the table

    0.4
    

    0.1

    Infinity

    0.01

    width: number

    Width of the table

    1
    

    0

    Infinity

    0.1

    length: number

    Length of the table

    1.2
    

    0

    Infinity

    0.1

    chamfer: number

    Chamfer the corners

    0.01
    

    0

    Infinity

    0.001

    topThickness: number

    Top thickness of the table

    0.05
    

    0.001

    Infinity

    0.001

    topGlassOffset: number

    Top offset from the edge of the table till the glass

    0.2
    

    0

    Infinity

    0.01

    glassThickness: number

    Glass thickness of the table

    0.005
    

    0.001

    Infinity

    0.001

    glassHolderLength: number

    Glass holder length of the table

    0.02
    

    0.001

    Infinity

    0.001

    shelfTopOffset: number

    The offset of the shelf from the bottom of the top - 0 means that no shelf is made as such shelf would be non-functional.

    0.15
    

    0

    Infinity

    0.01

    shelfThickness: number

    Shelf thickness

    0.03
    

    0.001

    Infinity

    0.001

    legWidth: number

    Width of the leg

    0.1
    

    0.01

    Infinity

    0.01

    legDepth: number

    The depth of the leg

    0.05
    

    0.01

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