The same way we do today. They built the knowledge, through experience, communication and mathematics. They draw diagrams and teach others how to read and draw those diagrams. Within a generation or two most structures can be designed.
Where I come from, such knowledge was passed down through songs and hymns.
I think this is the beauty of knowledge, it’s so simple to gather from reality.
Latest Answers