I'm trying to find the common line angle between adjacent roof lines having different pitch as shown in below diagram
Please let me know how the angle can be determined .
I tried arctan(8/12)= 33.69 degree and arctan(14/12)=49.3987 degree but couldn't find any solution around it.
I like John's answer. For a shorter version: the two roof parts define two planes. Calculate the intersection line between the two planes and determine its angle up from horizontal, i.e., in the plane defined by the Z direction and the intersection line itself. I assume that is the gist of Joh's answer as well. And, I totally agree that this question has nothing whatsoever to do with programming.