Bitbybit Docs
    Preparing search index...

    Class SandwitchPart<T> (Things.Architecture)

    A wall section of a building model, built from SandwitchPanelDto: the inputs, the placement that was applied, an exterior and an interior panel, and the window cut through them.

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    name: string

    Name given to the wall section.

    sandwitch-panel
    
    createWindow: boolean

    Whether a window is cut through the panels.

    true
    
    createInnerPanel: boolean

    Whether the interior panel is built.

    true
    
    createExteriorPanel: boolean

    Whether the exterior panel is built.

    true
    
    wallWidth: number

    Gap between the exterior and interior panels, where the wall sits, along X, in model units.

    0.3
    

    0.01

    Infinity

    0.05

    exteriorPanelWidth: number

    Width of the exterior panel along Z, centered on the section, in model units.

    0.4
    

    0.01

    Infinity

    0.05

    exteriorPanelHeight: number

    Height of the exterior panel, in model units.

    3
    

    0.01

    Infinity

    0.1

    exteriorPanelThickness: number

    Thickness of the exterior panel, in model units.

    0.05
    

    0.01

    Infinity

    0.1

    exteriorPanelBottomOffset: number

    How far the exterior panel reaches below the section's base, in model units.

    0
    

    0

    Infinity

    0.1

    interiorPanelWidth: number

    Width of the interior panel along Z, centered on the section, in model units. The window width is taken from it.

    0.4
    

    0.01

    Infinity

    0.05

    interiorPanelHeight: number

    Height of the interior panel, in model units. The window height is taken from it.

    3
    

    0.01

    Infinity

    0.1

    interiorPanelThickness: number

    Thickness of the interior panel, in model units.

    0.05
    

    0.01

    Infinity

    0.1

    interiorPanelBottomOffset: number

    How far the interior panel reaches below the section's base, in model units.

    0
    

    0

    Infinity

    0.1

    windowWidthOffset: number

    Margin on each side of the window inside the interior panel's width, in model units.

    0.1
    

    0

    Infinity

    0.1

    windowHeightOffset: number

    How much shorter the window is than the interior panel, at its top, in model units.

    0.2
    

    0

    Infinity

    0.1

    windowFrameThickness: number

    Width of the window's outer frame, in model units.

    0.1
    

    0.01

    Infinity

    0.01

    windowGlassFrameThickness: number

    Width of the window's glass frame, in model units. Building the window does not use it yet.

    0.05
    

    0.01

    Infinity

    0.01

    id?: string

    Id of the wall section, when the model sets one.

    rotation?: number

    Turn around the vertical axis that placed the section, in degrees.

    Point the section was moved to.

    direction?: Vector3

    Direction the section's up axis was turned to point along.

    The windows set into the section.

    shapes?: { panelExterior?: T; panelInterior?: T; compound?: T }

    The exterior and interior panels, with any window cut out, and everything together as compound.