I have been testing various urban design related definitions that have height setbacks.
If Statements.
The first example, unfinished, attempts to use if “x (a,b)” expressions, which is working fine but becomes tedious when I have to then move the setback profiles upward. Any ideas for how to make this less weighty, rather than copying the same expression twice?
Subtraction
From the if example, I realized that I may as well model the whole building with the setbacks and then just subtract a solid from the maximum envelope to get the resultant form rather than to keep setting up the if’s that would do it as certain height conditions were met.
This one uses indexes to select points but what I am trying to do is something like “select index x, then x+1”, but I have to keep copying the parts of the definition over. Is there an easier way to do this?
Thanks for your time!
Circular Array Circus.3dm (2.7 MB)
Circus 2-if.gh (23.5 KB)
Circus 3-solid subtract.gh (45.5 KB)