I am currently working on my thesis on a modular facade and would like to solve the following problem:
I have defined a number of rectangular-shaped blocks, in this case, I have five (2x3, 2x2, 4x1, 3x1, 1x1)
Now I would like grasshopper to automatically create a random pattern that would fill out the large rectangle (In this case 4m X 20).
I’ve followed the solution made by @laurent_delrieu (Rectangle false "packing" (Sample and example) - Grasshopper), but I don’t have a 1x1 grid, but a 3x3, as you can see in the picture and the facade is on the xz plane, not on the xy. After changing the grid dimensions and the plane the script doesn’t work anymore. Is there a way to make these changes?
I would be very thankful if someone can give me a hand here!