Before you start
You have a session from Start a building.Write the roof
This gable roof sits on the room from Draw a wall. Its outline is the outer face of the walls, 0.1 metres outside the wall path. Its eave is 3 metres above the storey elevation, at the top of the walls.Add it to the storey
A roof is an entry in theroofs list of its storey.
add-element command adds the roof to the list, and the session builds it. You keep the session and its undo history. The command rejects an id that the list has.
Roof types
In a JSON file, write the type as text:
"GABLE".
Rules
pitchis in degrees.overhangandthicknessare in metres.baseOffsetis the distance from the storey elevation to the eave.overhangmoves the roof edge outward from the outline.- A pitched roof cannot have holes.
Next
Add a stair
Connect two storeys.
Roof API
See each option of a roof.