Namespace: roofs

builders.roofs

...
Source:

Methods

buildGableRoof(opts)

Builds a gable roof
Parameters:
Name Type Description
opts Object
Properties
Name Type Description
roofSpanSize Array.<number> [x,y] size of area to be spanned
roofOverhangSize Array.<number> [x,y] size for overhangs
roofPitch number Roof pitch angle, expressed in radians
roofAxis string Main axis of roof
roofOpts Array.<string> Options like 'solid', 'noWall'
wallThickness number Wall thickness
Source:
Returns:
gable roof

buildHipRoof(opts)

Builds a hip roof
Parameters:
Name Type Description
opts Object
Properties
Name Type Description
roofSpanSize Array.<number> [x,y] size of area to be spanned
roofPitch number Roof pitch angle, expressed in radians
roofOpts Array.<string> Options like 'solid', 'noWall'
wallThickness number Wall thickness
Source:
Returns:
hip roof

buildShedRoof(opts)

Builds a shed roof
Parameters:
Name Type Description
opts Object
Properties
Name Type Description
roofSpanSize Array.<number> [x,y] size of area to be spanned
roofOverhangSize Array.<number> [x,y] size for overhangs
roofPitch number Roof pitch angle, expressed in radians
roofAxis string Main axis of roof
roofOpts Array.<string> Options like 'solid', 'noWall'
wallThickness number Wall thickness
Source:
Returns:
Shed roof