Skip to Content
Bear documentation
API referenceBlueprints

Floor

Import from bear/blueprints/Floor.

Interfaces

FloorProps

Defined in: bear/blueprints/Floor.tsx:37

Properties

PropertyTypeDescription
children?| BearElement<object> | BearElement<object>[]-
elevation?MeasurementElevation of the floor top surface, local to the parent frame (usually a Level).
footprint?Point[]Polygon footprint in the parent frame. Supports @-references. Rotates about its bounding-box center.
joistFactory?FactoryFactory producing joist elements. Defaults to I-Joists.
length?MeasurementFloor span length (X axis). With width, defines a rectangle centered at (0, 0).
name?stringName for this floor in the tree. Defaults to "F".
onCenter?MeasurementJoist spacing. Defaults to 16" OC.
rimboardFactory?FactoryFactory producing rimboard elements. Defaults to LSL.
sheathing?Factory | nullFactory producing subfloor sheathing elements. Defaults to 3/4" plywood. Pass null to skip.
sheathingLayout?PanelStrategyPanel layout strategy for sheathing. Defaults to "staggered".
sheathingPanelOptions?PanelizeOptionsPanel dimension overrides for sheathing.
transform?TransformMatrixOptional transform. Composed with auto-computed position.
width?MeasurementFloor width (Y axis). Convenience for rectangular floors.

Functions

Floor()

function Floor(__namedParameters): BearElement;

Defined in: bear/blueprints/Floor.tsx:77

Floor — layered assembly for floor construction.

Layers (bottom to top):

  1. JoistFraming — structural joists + rimboards along the footprint
  2. Subfloor sheathing — sheet good on the top face of the joists

The floor is positioned so its top surface sits at the given elevation. Footprint coordinates are accepted in parent-local XY but normalized to local space internally (centered at origin). The assembly's transform positions the floor at the footprint center.

Parameters

ParameterType
__namedParametersFloorProps

Returns

BearElement

On this page