Hi everyone. I'm new to CGA rules and trying to make a simple parapet wall around a roof deck but I can't do it properly. Here's what I got so far:
Lot-->
extrude (4)
comp(f) {
side: Facade | top: Roof1}
Roof1-->
split(x) { ~0.5 : Block | ~0.5 : Deck}
Block-->
extrude(3)
label("Block")
Deck-->
offset(-0.2)
comp(f) {border: Parapet}
Parapet-->
extrude(1)ParapetWall
ParapetWall -->
case touches(intra, "Block") :
NIL
else : Wall.

Thanks in advance!