Hi Brendan,
Thanks for the video it was very helpful, I am actually looking at bigger plot level generation of building based on FAR and ground coverage. With the help of this video I tried to make a rule where I have split the plot into parts based on there input dimension, but I am unable to achieve the FAR value and Ground coverage. Basically I am splitting a bigger parcel by the following code
Lot -->
split(x) {{~Length : SPLITZ | ~Length : SPLITZ | Road_Width : Road_Color}* | ~Length : SPLITZ }
SPLITZ -->
split(z) {{~Width : DevelopLot | ~Width : DevelopLot | Road_Width : Road_Color}* | ~Width : DevelopLot }
DevelopLot -->
offset(-((sqrt(geometry.area)-sqrt(Gcover*(geometry.area)))/2)) Test_2
Test_2 --> comp(f){inside: FootprintReach | border: Lawn_Color} //////
FootprintReach -->
ReachRecursion(MaxFAR * geometry.area)
ReachRecursion(restArea) -->
case restArea < geometry.area(bottom) :
Done.
else :
extrude(world.y, FloorHeightFunction)
VisualizationReach(CurrentFloorIndex)
set (CurrentFloorIndex, CurrentFloorIndex +1)
comp(f) { top : ReachRecursion(restArea - geometry.area) | all : NIL}
VisualizationReach (VolumeType) -->
case VolumeType == 1 :
Volume("GF")
else :
Volume("UF")
I guess the issue is in my code that I am duplicating my ground area in each plot because of which the building is having same height regardless of FAR and Ground coverage.
The intention is to make a rule file like I have seen in the video where you can change your dimension of the plot and also change FAR w.r.t ground coverage and also having a floor variation parameter.