Beginner question - grid with different elements

More enhancements - are we out of your depth yet @Jonas5 ?

  1. In the “Minimales oberes Raster” group (Minimum top grid), added the ability to set how many grid sections are left on the top floors by building. They don’t all have to be the same. Very easy.

  2. In the same group, I added range checking to prevent the minimum values from being larger than the number of sections in the aligned direction (always called ‘Y’). Besides preventing errors, it allows arbitrarily large values to prevent any stepping at all. Also easy.

  3. Added a “Schritt-Vektor” group (Step Vector) where the stepping direction can be switched for each building. This got a little messy until I moved the code inside the Grid Region cluster, adding a ‘Step_V’ input for the Boolean toggle.

I left alone the alignment of stepping, which always happens at the narrower ends of each building. That code is deeply embedded in decisions made early on so changing it is more complex.


grid_2023Mar19b.gh (81.0 KB)