I don't understand is how they came up with wing rib drawings or fuselage frames, that would fit the design at any point in the wing or fuselage
It's done by a process known as "lofting". Originated in ship building. Google "aircraft lofting". A primer
http://www.dept.aoe.vt.edu/~mason/Ma...GeomIssues.pdf