RAFT1 This routine will calculate the main skeleton1 of a simple common-pitched hip-roof, given: - Pitch - cRun (The horizontal length from over the outside of the plate…