NominalLumber
Import from bear/blueprints/materials/NominalLumber.
Interfaces
NominalLumberProps
Defined in: bear/blueprints/materials/NominalLumber.ts:65
Properties
| Property | Type | Description |
|---|---|---|
grade? | LumberGrade | Lumber grade. Defaults to "#2". |
label? | string | - |
length | number | - |
size | NominalLumberSize | - |
species? | LumberSpecies | Wood species. Defaults to "DFL" (Douglas Fir-Larch). |
treatment? | LumberTreatment | Treatment applied to the lumber. Defaults to "none". |
Type Aliases
LumberGrade
type LumberGrade = "select-structural" | "#1" | "#2" | "stud" | "S4S" | "S3S" | "appearance";Defined in: bear/blueprints/materials/NominalLumber.ts:50
LumberSpecies
type LumberSpecies = "DFL" | "WRC" | "SPF" | "HF" | "SYP" | "PP";Defined in: bear/blueprints/materials/NominalLumber.ts:48
LumberTreatment
type LumberTreatment = "none" | "PT-ground-contact" | "PT-above-ground" | "fire-retardant";Defined in: bear/blueprints/materials/NominalLumber.ts:59
NominalLumberSize
type NominalLumberSize =
| "1x2"
| "1x3"
| "1x4"
| "1x6"
| "1x8"
| "1x10"
| "1x12"
| "2x2"
| "2x3"
| "2x4"
| "2x6"
| "2x8"
| "2x10"
| "2x12"
| "3x3"
| "3x4"
| "3x6"
| "3x8"
| "3x10"
| "3x12"
| "4x4"
| "4x6"
| "4x8"
| "4x10"
| "4x12"
| "6x6"
| "6x8"
| "6x10"
| "6x12"
| "8x8"
| "8x10"
| "8x12"
| "10x10"
| "10x12"
| "12x12";Defined in: bear/blueprints/materials/NominalLumber.ts:11
All supported nominal lumber sizes. Replicates the type from blueprints/materials/NominalLumber.tsx.
Variables
NominalLumber
const NominalLumber: PartDef<NominalLumberProps, string, string>;Defined in: bear/blueprints/materials/NominalLumber.ts:98
Functions
nominalToPu()
function nominalToPu(nominal): number;Defined in: bear/blueprints/materials/NominalLumber.ts:78
Convert a single nominal dimension to project units (32nds of an inch).
Parameters
| Parameter | Type |
|---|---|
nominal | number |
Returns
number