Roof framing: rafter lengths, cuts, birdsmouth and templates
roof_framingLays out a gable or hip roof (optionally a gable wing with valleys) from the caller's own sizes: each common, hip, valley and jack rafter's length along the line, birdsmouth and HAP, plumb and cheek cuts as saw settings, hip backing, a cut list on the caller's stock, and a member's full-size template as SVG and DXF; both systems. Geometry only: it does not size structure.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "roof_framing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kerf | No | Saw kerf, charged on every cut (default 1/8 in or 3 mm). | |
| kind | No | gable or hip (default hip). | |
| lang | No | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page. | en |
| rake | No | Gable ends (and a wing's gable end): how far the roof runs past the gable wall. | |
| span | No | Building width across the ridge, outside faces of the wall plates ("24 ft", "8 m"). | |
| wing | No | An equal-pitch gable wing on the front wall: gives the valleys, valley jacks and cripples. | |
| pitch | No | Rise per 12 of run (6 for 6/12). Or give pitchDegrees. | |
| stock | No | The stock lengths the caller can buy, each with its unit; left out, the page's list for the system. | |
| detail | No | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. | full |
| hipTop | No | Drop the hips and leave them square (default), or back them. | |
| length | No | Building length along the ridge. | |
| system | No | The system figures are read in and printed first (both are returned). | metric |
| spacing | No | Rafter centres along the plate ("16 in", "600 mm"). | |
| hipDepth | No | Actual depth of the hips and valleys. | |
| overhang | No | Level, from the wall's outer face to the tail's plumb cut. | |
| template | No | One member as a full-size template (1:1, millimetres). | |
| inputUnits | No | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. | |
| plateWidth | No | The wall plate's width (the seat bears on it). | |
| rafterDepth | No | Actual depth of the commons and jacks (a 2×8 is "7.25 in"). | |
| hipThickness | No | Actual thickness of the hips and valleys. | |
| pitchDegrees | No | The pitch in degrees, as an alternative to pitch. | |
| ridgeThickness | No | The ridge board's thickness. | |
| fasciaThickness | No | The fascia board's thickness. | |
| rafterThickness | No | Actual thickness of the commons and jacks ("1.5 in", "45 mm"). | |
| heightAbovePlate | No | The commons' height above the plate (HAP); left out, the seat bears on the whole plate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||