Bitbybit Docs
    Preparing search index...

    Class CornerStairPart<T> (Things.Architecture)

    L-shaped stairs of a building model, built from CornerStairDto: the inputs, the step count and sizes worked out from them, and the stairs as one solid.

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    invert: boolean

    When true, the steps grow toward the inside of the L instead of the outside. Such stairs can intersect themselves.

    false
    
    widthFirstLanding: number

    Width of the top landing along the first leg, in model units. Each lower step is wider by its depth.

    1
    

    0.1

    Infinity

    0.1

    widthSecondLanding: number

    Width of the top landing along the second leg, in model units. Each lower step is wider by its depth.

    1
    

    0.1

    Infinity

    0.1

    lengthFirstWing: number

    Length of the first leg of the L, in model units.

    2
    

    0.1

    Infinity

    0.1

    lengthSecondWing: number

    Length of the second leg of the L, in model units.

    1
    

    0.1

    Infinity

    0.1

    maxWishedStepHeight: number

    Largest step height wanted, in model units. The step count is the total height divided by it, rounded up, so every step is this high or lower.

    0.25
    

    0.01

    Infinity

    0.05

    stepHeightWidthProportion: number

    Ratio of step depth to step height. Building the stairs does not use it yet and always uses 1.35.

    0.25
    

    0.01

    Infinity

    0.05

    totalHeight: number

    Height the stairs climb, from the ground to the landing, in model units.

    1
    

    0

    Infinity

    0.1

    rotation: number

    Turn of the L around the vertical axis, in degrees.

    0
    

    0

    Infinity

    15

    Point at the corner of the top landing.

    [0, 0, 0]
    
    id?: string

    Id of the stairs, when the model sets one.

    name?: string

    Name of the stairs, such as "corner-stair-part".

    steps?: number

    Number of steps: the total height divided by the largest wished step height, rounded up.

    stepWidth?: number

    Depth each step adds to the one above it, in model units: 1.35 times the step height.

    stepHeight?: number

    Height of each step, in model units: the total height divided by the number of steps.

    shapes?: { stair?: T }

    All steps joined into one solid.