Step 1: Calculate truss height
Step 2: Calculate total bottom chord length and half truss span
Step 3: Calculate top chord length
Step 4: Calculate bay spacing and initialize arrays
Please use the truss members calculator and the purlin length calculator to get the total truss member length and the total purlin length.