Skip to Content
Bear documentation
API referenceBlueprints

RafterFraming

Import from bear/blueprints/RafterFraming.

Interfaces

RafterFramingProps

Defined in: bear/blueprints/RafterFraming.tsx:18

Properties

PropertyTypeDescription
children?| BearElement<object> | BearElement<object>[]-
lengthnumberSpan length (X axis) in project units, centered at x = 0.
onCenter?numberRafter spacing in project units. Defaults to 16" OC (512 pu).
pitch?stringRoof pitch in rise:run format (e.g. "6:12"). Defaults to "6:12".
rafterSize?RafterSizeNominal lumber size for rafters. Defaults to "2x8".
transform?TransformMatrixPose in the parent frame, about the plan center at the low-edge bottom elevation.
widthnumberWidth (Y axis) in project units, centered at y = 0.

Type Aliases

RafterSize

type RafterSize = "2x6" | "2x8" | "2x10" | "2x12";

Defined in: bear/blueprints/RafterFraming.tsx:16

Nominal lumber sizes suitable for rafters.

Functions

RafterFraming()

function RafterFraming(__namedParameters): BearElement;

Defined in: bear/blueprints/RafterFraming.tsx:139

RafterFraming — assembly function for roof rafter framing (shed roof).

Creates rafters running along the X axis (the slope direction), spaced along Y. The roof slopes from z=0 at the low edge (-X) to z=rise at the high edge (+X). Rafters stand on edge perpendicular to the slope.

Publishes top/bottom face surfaces for downstream layers (e.g. roof sheathing) to consume via FaceRefs.

Parameters

ParameterType
__namedParametersRafterFramingProps

Returns

BearElement

On this page