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

    Implements

    Index

    Constructors

    • Parameters

      • OptionalsittingHeight: number
      • OptionalbackRestOffset: number
      • OptionalbackRestHeight: number
      • Optionalwidth: number
      • Optionallength: number
      • Optionalthickness: number
      • OptionalnrOrnamentPlanks: number
      • OptionalornamentDepth: number
      • OptionalfilletRadius: number
      • Optionalprecision: number
      • OptionaldrawEdges: boolean
      • Optionalrotation: number
      • Optionalscale: number
      • Optionalorigin: Point3
      • Optionaldirection: Vector3

      Returns SnakeChairDto

    Properties

    sittingHeight: number

    Height of the sitting area

    0.45
    

    0.1

    Infinity

    0.01

    backRestOffset: number

    Sitting top offset from perpendicular ending of the chair

    0.1
    

    0

    Infinity

    0.1

    backRestHeight: number

    Height of the back rest

    0.7
    

    0.1

    Infinity

    0.01

    width: number

    Width of the table

    0.45
    

    0

    Infinity

    0.01

    length: number

    Length of the table

    0.45
    

    0

    Infinity

    0.01

    thickness: number

    The thickness of the chair

    0.05
    

    0.01

    Infinity

    0.01

    nrOrnamentPlanks: number

    The number of ornament planks

    7
    

    1

    Infinity

    1

    ornamentDepth: number

    The ornament depth of the chair

    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]