How is the roof actually modelled?
The building is parametric: gable, hip, skillion or flat forms are generated as a set of planar roof facets, each with its own pitch, orientation and outline, including the trapezoid and triangle faces of a hip roof. Flat roofs carry a drainage fall, and the rack frames follow the falling surface, so the fall adds to or subtracts from the effective panel tilt. Panels are flush-mounted facet by facet, clipped to each facet's real outline with an edge setback, and mounted on rails; flat roofs use tilted rack rows with a row-pitch rule instead. Client deployments replace the parametric form with the actual roof polygons from a Revit model or drone survey.