Probably dosn't make much sense to anyone but just incase
Code:
'formula for roof pitch to hip pitch
'tan[roof pitch] * cos[hip angle] = -tan
'TRIG CALCULATIONS
Const Pi As Double = 3.14159265358979 'COS
Dim rRoofpitch As Double = Drawing.lblPitch.Text
Dim tTanRoofPitchXcCosHipAngle As Double = 0.0
tTanRoofPitchXcCosHipAngle = (Math.Tan(rRoofpitch * (Pi / 180)) * 0.707106781) 'ROOF PITCH TO HIP PITCH
Dim hHipPitch As Double = 0.0
hHipPitch = Math.Atan(tTanRoofPitchXcCosHipAngle) * 180 / Pi 'INVERT TANGENT to get true hip pitch
Dim tTrueHipLength As Double = 0.0
tTrueHipLength = _length / Math.Cos(hHipPitch * (Pi / 180)) 'planHipLength to True hip length