Hi all, I have a issue regarding split inside a footprint.
What I’m doing is, that I’m creating a shapeO on the random Lot’s created from the streetnetwork.
The remainder is going to be first part of a building cluster.
Then I’m doing a offset on street.front/back/left/right, which is going to be the maximum building depth.
Then I’m splitting my offset up in z and x direction randomly, like Matt once wrote:
case scope.sx > 2 * minSize :
split
{ 'relativeValue : Footprint | 'relativeValue : Footprint| 'relativeValue : Footprint}
case scope.sz > 2 * minSize :
split(z) { 'relativeValue : Footprint | 'relativeValue : Footprint| 'relativeValue : Footprint}
else :
Individual_Footprint
Okay, now to my issue. I need to be able to cut parts of each Individual_Footprint, which basically could be on apartment , and some should be deleted in 20 % of the cases.
The problem is that I’m not able to index my split, so I can randomly create stebacks on each Individual_Footprint, inside a cluster, I can only index it by cluster.
Makes sence?
What I need is a random extrusion and setback on each Individual_Footprint inside a cluster.