2nd roof:

How the second roof are developed and constructed
Sometimes pictures are too small for their quality, feel free to open them in a new tab


render

This picture show nicely how the 2nd roof should look like with its smooth exterior looks. When all the domes are created the second roof can be made to increase structural properties, as well to improve the rain flow from the building.
In the ruleset these steps have been passed on quickly. When developing the second roof, first all the roofs are offsetted. When analyzing this with rainwater, problems occur.

render
Fig. 1: rain water flow on offsetted roof

Therefore, it is important to make the roof smoother. This has been done by the pseudocode in Rule N17:

Move the hexagonal and triangular boundaries 2.4m up from the their floorheigths

  • If two lines are same in top view, Then Check their heights
  • If they have different heights, Then remove the line that has the lowest height
  • Else remove one line randomly

Place points on the lines with equal distances in top view
Move the points in Z-direction

  • The length of the movement is higher if the horizontal distance of the point to the closest the building outline or the garden outline is high.

Offset the support lines of the semi-open space by 0.8 inside the garden
Add the above points and lines as anchor components
Tesselate triangular the roofing surface

Apply dynamic and simplify the surface
Simplify further in Meshmixer

Ruleset_GIF
Fig. 2: Final mesh without simplifications

2nd roof construction:

It can be understood easily that making this is not the hardest job and does not require high precision. First all of the gaps between vaults and hexagons should be filled. This filling will be done with earth and the highest layer with clay. Every piece of the dome should at least get a layer of clay around it, resulting in less material on the domes, but more material near the walls. This enlarges the vertical force direction, in stead of a horizontal load. The following section shows the 2nd roof quite nicely

Ruleset_GIF
Fig. 3: Section with the 2nd roof