Complete Attribute Reference
This page documents all available attributes for timber beam calculations. While presets provide sensible defaults, you can override or set any of these attributes explicitly.
For the complete schema definition with all properties, see the API Reference.
Input Validation
All inputs are validated before processing. Invalid inputs return HTTP 400 with detailed error messages:
Code
Key validation rules:
- All enum values are case-sensitive (e.g.,
"Wet"not"wet") - Numeric fields must be actual numbers, not strings (
14not"14") - Positive numbers required for lengths, widths, and limits
See Error Handling for detailed examples of common errors and how to fix them.
Core Attributes
These are the essential attributes for any timber beam calculation.
Geometry
| Attribute | Type | Required | Validation | Description |
|---|---|---|---|---|
L_X | number | Yes | Must be positive | Beam plan length in feet |
supports | array | Yes | Minimum 2 supports | Support definitions. Format: [["Type", position, bearingLength], ...] |
n_com | integer | No | Positive integer | Number of plies for multi-ply beams (default: 1) |
Supports Format:
Code
Each support tuple: [type, position, bearingWidth]
- type - One of:
"Pinned","Roller","Fixed","Hinge","Top Brace","Bottom Brace"(case-sensitive) - position - Non-negative number (feet from left end)
- bearingWidth - Positive number (inches)
Member Selection
| Attribute | Type | Required | Description |
|---|---|---|---|
type | string | No | "Database" (default) or "Custom" |
member | string | When type=Database | Member designation (e.g., "2x10 D.Fir-L No. 2") |
For all available member designations, see List Members.
For Custom Sections:
| Attribute | Type | Required | Description |
|---|---|---|---|
b_input | number | When type=Custom | Member width in inches |
d_input | number | When type=Custom | Member depth in inches |
species | string | When type=Custom | Wood species/grade |
Loads
Point & Moment Loads (loadsConc)
Format: ["Label", position_ft, {"LoadType": [force_lb, moment_lb_ft], ...}]
Code
Load Types:
D- Dead loadL- Live load (occupancy)Lr- Roof live loadS- Snow loadW- Wind loadE- Seismic load
Distributed Loads (loadsDist)
Format varies by use case:
For headers/girders/generic beams (explicit widths):
Code
For joists only (with spacing reference):
Code
Important: Variable references are only supported for joist presets.
The references
"L","spacing", and"TW_s"are only resolved for:floorJoist,ceilingJoist,deckJoist,rafterFor all other presets (
genericBeam,floorGirder,floorHeader, etc.), you must use explicit numeric values:Code
Line Loads (loadsLine)
Format: ["Label", start_ft, end_ft, {"LoadType": [plf_start, plf_end], ...}]
Code
Flitch Plate Options
For steel-reinforced timber beams (flitch plates).
| Attribute | Type | Default | Description |
|---|---|---|---|
flitch | string | "No" | Enable flitch plates: "Yes" or "No" |
n_flitch | number | 1 | Number of steel plates |
t_flitch | number | 0.25 | Plate thickness in inches |
d_flitch | number | - | Plate depth in inches |
F_y | number | 36000 | Yield strength in psi |
Example:
Code
Design Conditions
Service Conditions
| Attribute | Type | Default | Valid Values |
|---|---|---|---|
wet | string | "Dry" | "Dry", "Wet" |
T | string | "T ≤ 100°F" | "T ≤ 100°F", "100°F < T ≤ 125°F", "125°F < T ≤ 150°F" |
incised | string | "No" | "Yes", "No" |
Member Configuration
| Attribute | Type | Default | Valid Values |
|---|---|---|---|
repeat | string | varies | "Non-Repeating", "Repeating" |
LTB_bracing | string | varies | "No Continuous Bracing", "Top Braced", "Bottom Braced", "Top & Bottom Braced" |
bendingAxis | string | "X-X" | "X-X", "Y-Y" |
Load Options
| Attribute | Type | Default | Description |
|---|---|---|---|
incSW | string | "Yes" | Include self-weight: "Yes" or "No" |
LLT | string | "Occupancy" | Live load type: "Occupancy", "Storage", or "Impact" |
brace_PL | string | "No" | Brace at point loads: "Yes" or "No" |
shearDelta | string | "No" | Consider shear deflection: "Yes" or "No" |
LL_pattern | string | "No" | Live load patterning (BETA): "Yes" or "No" |
Deflection Limits
| Attribute | Type | Default | Description |
|---|---|---|---|
Delta_hard | number | 2 | Absolute deflection limit in inches |
Delta_Span_ST | number | 360 | Short-term deflection limit (L/xxx) |
Delta_Span_LT | number | 240 | Long-term deflection limit (L/xxx) |
doubleCantileverDeflection | string | "Yes" | Double limits for cantilevers: "Yes" or "No" |
Example - Stricter limits:
Code
Simplified Deflection
For floor joists and similar applications, IBC requires checking combined dead load plus live load deflection.
| Attribute | Type | Default | Description |
|---|---|---|---|
flag_SD | string | "No" | Consider simplified deflection: "Yes" or "No" |
Delta_Span_DL+LL | number | 180 | Simplified DL+(LL or SL) deflection limit (L/xxx) |
When flag_SD is "Yes", the calculator checks the combined DL+LL deflection against the Delta_Span_DL+LL limit in addition to the standard short-term and long-term checks.
Example - Floor joist with simplified deflection:
Code
Inclined Beam Options
For rafters and sloped members.
| Attribute | Type | Default | Description |
|---|---|---|---|
incline_flag | string | "Horizontal" | "Horizontal", "Simple Slope", "Hip/Corner Slope" |
alpha_incline | number | 4 | Roof pitch (rise per 12 run) |
Note: For inclined beams, use the rafter or hipValley preset which includes proper load combination setup.
Next Steps
- Error Handling - Validation errors and how to fix them
- Examples - Complete calculation examples
- Presets Reference:
- API Reference - Full endpoint documentation