Solved! Go to Solution.
attr Building_Height = 9 attr Front_Yard_Depth = 10 attr Rear_Yard_Depth = 10 attr Side_Yard_Depth = 5 attr Roof_Angle = 20 attr Roof_Overhang = 1 attr Floors = (Building_Height/6) attr Rotation = 0 func = rint(geometry.nEdges / 2 ) @StartRule Lot --> alignScopeToGeometry(yUp, 0, func) setback(Front_Yard_Depth ) { street.front: NIL | remainder: setback(Rear_Yard_Depth ) { street.back: NIL | remainder: setback(Side_Yard_Depth ) { street.side: NIL | remainder: MakeRectangle } } } MakeRectangle --> innerRect Done.
attr Building_Height = 9 attr Front_Yard_Depth = 10 attr Rear_Yard_Depth = 10 attr Side_Yard_Depth = 5 attr Roof_Angle = 20 attr Roof_Overhang = 1 attr Floors = (Building_Height/6) attr Rotation = 0 func = rint(geometry.nEdges / 2 ) @StartRule Lot --> alignScopeToGeometry(yUp, 0, func) setback(Front_Yard_Depth ) { street.front: NIL | remainder: setback(Rear_Yard_Depth ) { street.back: NIL | remainder: setback(Side_Yard_Depth ) { street.side: NIL | remainder: MakeRectangle } } } MakeRectangle --> innerRect Done.