Help with alternating grid structure


I’m trying to create the structure on the left in grasshopper but struggling with several things. Wondering if someone could help me out :slight_smile:

  1. How can I alternate the volumes in each column I created as shown on the left structure in white?
  2. I divided each column into three parts but I’m not managing to make this aspect parametric in way that it always fits within the outer beam. (40.9 KB)

Would be much appreciated!


Have a look at the attachment. (13.1 KB)


Massive apologies for the very late reply and a massive thanks for the help! Learned a lot from your script. Also a much simpler to look at this than what I was doing.