Skip to Content
Bear documentation
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

PropertyTypeDescription
children?| BearElement<object> | BearElement<object>[]-
drywall?FactoryFactory producing interior drywall (gypsum board) finish. Stacks on interior sheathing if present.
drywallLayout?PanelStrategyPanel layout strategy for interior drywall. Defaults to "edgeAligned".
endJoin?WallJoinHow the wall's end meets another wall. See startJoin.
exterior?booleanMarks this wall as exterior (participates in the building envelope).
exteriorDrywall?FactoryFactory producing exterior drywall (gypsum board) finish. Stacks on exterior sheathing if present.
exteriorDrywallLayout?PanelStrategyPanel layout strategy for exterior drywall. Defaults to "edgeAligned".
height?MeasurementWall 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?FactoryFactory producing interior sheathing elements. Omit to skip.
interiorSheathingLayout?PanelStrategyPanel layout strategy for interior sheathing. Defaults to "edgeAligned".
isFlipped?booleanSwaps exterior and interior faces without changing wall direction.
locationLine?LocationLineHow to align the wall on the path. See LocationLine. Defaults to "centerline".
name?stringName for this wall in the tree. Defaults to "W".
onCenter?MeasurementStud 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?FactoryFactory producing exterior sheathing elements. Omit to skip sheathing.
sheathingLayout?PanelStrategyPanel layout strategy for exterior sheathing. Defaults to "edgeAligned".
sheathingPanelOptions?PanelizeOptionsPanel dimension overrides for exterior sheathing.
siding?FactoryFactory producing exterior siding/cladding. Stacks on the outermost exterior layer.
sidingLayout?PanelStrategyPanel layout strategy for siding. Defaults to "edgeAligned".
sidingPanelOptions?PanelizeOptionsPanel dimension overrides for siding.
startJoin?WallJoinHow 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?WallStudSizeNominal lumber size for studs and plates. Defaults to "2x4".
topPitch?stringPitch of the top plate (e.g. "3:12"). Defaults to "0:12" (flat). height is the minimum height when non-zero.
transform?TransformMatrixOptional transform. Composed with auto-computed position.
vaporBarrier?FactoryFactory producing a vapor barrier layer on the interior side, between sheathing/framing and drywall.
vaporBarrierLayout?PanelStrategyPanel 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

NameType
refs?readonly string[]

On this page