Making the oca structure

Hello everybody i’ am a student in architecture learning rhino/grasshopper. For an exam, with a friend of mine we have to built an oca ,
it 's a traditional Brazilian architecture .
We’ve been trying to write a script in which we can see/build the structure of the oca (example)
I had tried to write multiple script but with non of them i was able to obtain the result i’ve been searching for .
Can somone help please ?