Assign rectangular panel to surface

Obviously. My input was only five “Valid Combos” so five combinations is the maximum.

You didn’t explain your “tricky way” or post any code with it so I assume you did it by hand?

As to your partition 2.1.gh, this:

can be done more simply like this:

assign panels_2023Sep7a3

I followed your code for awhile but didn’t see the point of it since you started with three valid “solutions” as this code demonstrates:


assign panels_2023Sep7a.gh (15.4 KB)

I should have done it like this:


assign panels_2023Sep7b.gh (8.4 KB)

The purple group is redundant, from here: