Skip to Content
Bear documentation
API referenceBlueprints

Building

Import from bear/blueprints/Building.

Interfaces

BuildingProps

Defined in: bear/blueprints/Building.tsx:12

Extends

Indexable

[key: string]: unknown

Properties

PropertyTypeDescriptionInherited from
children?| BearElement<object> | BearElement<object>[]--
context?ContextMap-AssemblyProps.context
footprint[Measurement, Measurement]Width (X) and depth (Y), centered at (0, 0). Grade is z = 0.-
gridReferences?GridReferencesNamed grid lines in the building's local frame, in project units. Defaults to Left/Right = -width/2, +width/2 and Front/Back = -depth/2, +depth/2. Explicit coordinates are used verbatim, including imported survey grids. Example: { x: { A: -3840, B: 3840 }, y: { "1": -3072, "2": 3072 } }. Reference these as "@A" and "@1"; the defaults are "@Left", "@Right", "@Front", and "@Back".-
heightMeasurementOverall building metadata height above grade. Does not set wall heights or roof elevation; use Level wallHeight or explicit wall heights and roof placement.-
hosts?HostedChildrenTyped declarations from descendants, used to build additional children.AssemblyProps.hosts
label?string-AssemblyProps.label
name?string-AssemblyProps.name
refs?Readonly<Record<string, Surface>>Named reference planes this assembly publishes, in its local frame.AssemblyProps.refs
transform?TransformMatrixThis assembly's pose in its parent frame.AssemblyProps.transform

Functions

Building()

function Building(__namedParameters): BearElement;

Defined in: bear/blueprints/Building.tsx:29

Parameters

ParameterType
__namedParametersBuildingProps

Returns

BearElement

On this page