API referenceBlueprints
Slab
Import from bear/blueprints/Slab.
Interfaces
SlabGradient
Defined in: bear/blueprints/Slab.ts:26
Properties
| Property | Type | Description |
|---|---|---|
path | [Point, Point] | Two points defining the gradient direction. Supports @-references. |
pitch | string | Pitch in rise:run format (e.g. "1:48"). |
SlabProps
Defined in: bear/blueprints/Slab.ts:33
Properties
| Property | Type | Description |
|---|---|---|
footprint | Point[] | Polygon boundary in the parent frame. Supports @-references. |
gradient? | SlabGradient | Optional gradient for pitched slabs. |
label? | string | - |
thickness | Measurement | Slab thickness. |
transform? | TransformMatrix | Additional pose about the footprint's bounding-box center at the top surface. |
Functions
Slab()
function Slab(__namedParameters): BearElement;Defined in: bear/blueprints/Slab.ts:128
Slab — a concrete slab over a footprint. Resolves the footprint's grid references, centers the body on the footprint with its top surface at z = 0, and tilts it for a gradient.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | SlabProps |