Hello,I have the following code for creating a U shape, I'm attempting to essentially extrude a cube, and add a uShape on top using comp(f).I have attached two images, if I use my start rule as "RoofTier" it creates a ushape no problem. If I use my start rule as Lot, it will extrude my lower part of the building, but the u shape is incorrect. This also happens to L shapes. Note I'm just using the "Null" rule in this case to make my floor/ceiling planes.Does anyone have any insight? I know from images I've seen this is very possible.Thanks!Davidversion "2012.1"
attr myFrontDepth = 5
attr myRightWidth = 5
attr myLeftWidth = 5
Lot -->
extrude(20)
comp(f) { top : Roof | all : Null}
Roof -->
Null
RoofTier
RoofTier -->
shapeU(myFrontDepth,myRightWidth,myLeftWidth) { shape : Footprint | remainder: NIL }
Footprint -->
extrude(20)