API referenceBlueprints
Wall
Import from bear/blueprints/Wall.
Interfaces
WallBaseProps
Defined in: bear/blueprints/Wall.tsx:80
Everything a wall is, apart from where it goes (see SpanPlacementProps).
Properties
| Property | Type | Description |
|---|---|---|
children? | | BearElement<object> | BearElement<object>[] | - |
drywall? | Factory | Factory producing interior drywall (gypsum board) finish. Stacks on interior sheathing if present. |
drywallLayout? | PanelStrategy | Panel layout strategy for interior drywall. Defaults to "edgeAligned". |
endJoin? | WallJoin | How the wall's end meets another wall. See startJoin. |
exterior? | boolean | Marks this wall as exterior (participates in the building envelope). |
exteriorDrywall? | Factory | Factory producing exterior drywall (gypsum board) finish. Stacks on exterior sheathing if present. |
exteriorDrywallLayout? | PanelStrategy | Panel layout strategy for exterior drywall. Defaults to "edgeAligned". |
height? | Measurement | Wall height at the start of the path. Falls back to the wallHeight published by an ancestor Level. If neither is set, defaults to 0 (2D wall line, no framing). |
interiorSheathing? | Factory | Factory producing interior sheathing elements. Omit to skip. |
interiorSheathingLayout? | PanelStrategy | Panel layout strategy for interior sheathing. Defaults to "edgeAligned". |
isFlipped? | boolean | Swaps exterior and interior faces without changing wall direction. |
locationLine? | LocationLine | How to align the wall on the path. See LocationLine. Defaults to "centerline". |
name? | string | Name for this wall in the tree. Defaults to "W". |
onCenter? | Measurement | Stud spacing. Defaults to 16in. |
openings? | OpeningSpec[] | Openings (doors, windows) to frame into this wall, as plain specs. Each becomes an <Opening> named Opening-1, Opening-2, ... Prefer <Opening> children: they can be named and placed by dims. |
sheathing? | Factory | Factory producing exterior sheathing elements. Omit to skip sheathing. |
sheathingLayout? | PanelStrategy | Panel layout strategy for exterior sheathing. Defaults to "edgeAligned". |
sheathingPanelOptions? | PanelizeOptions | Panel dimension overrides for exterior sheathing. |
siding? | Factory | Factory producing exterior siding/cladding. Stacks on the outermost exterior layer. |
sidingLayout? | PanelStrategy | Panel layout strategy for siding. Defaults to "edgeAligned". |
sidingPanelOptions? | PanelizeOptions | Panel dimension overrides for siding. |
startJoin? | WallJoin | How the wall's start meets another wall: butt, through or miter at an L corner, tee into the side of a wall that carries on. Each of the wall's bands (exterior layers, core, interior layers) then ends on that wall's faces instead of square on the wall line. See wall-joins.ts. |
studSize? | WallStudSize | Nominal lumber size for studs and plates. Defaults to "2x4". |
topPitch? | string | Pitch of the top plate (e.g. "3:12"). Defaults to "0:12" (flat). height is the minimum height when non-zero. |
transform? | TransformMatrix | Optional transform. Composed with auto-computed position. |
vaporBarrier? | Factory | Factory producing a vapor barrier layer on the interior side, between sheathing/framing and drywall. |
vaporBarrierLayout? | PanelStrategy | Panel layout strategy for vapor barrier. Defaults to "edgeAligned". |
Type Aliases
LocationLine
type LocationLine =
| "centerline"
| "coreCenter"
| "finishExt"
| "finishInt"
| "coreExt"
| "coreInt";Defined in: bear/blueprints/Wall.tsx:65
Possible alignments for the wall along its path.
These are the same names the wall publishes as refs, so aligning a wall to its path and dimensioning to it share one vocabulary.
WallProps
type WallProps = WallBaseProps & SpanPlacementProps;Defined in: bear/blueprints/Wall.tsx:150
Variables
Wall
const Wall: AssemblyFn<WallProps> & object;Defined in: bear/blueprints/Wall.tsx:679
Wall — placement is one constraint mechanism with two syntaxes. An
authored path pins both anchors and never touches the solver
(constant-folded); along/from/to pin what they pin, and dims
supply the rest. Solved walls are axis-aligned; angled walls author a
path.
Type Declaration
| Name | Type |
|---|---|
refs? | readonly string[] |