Hey guys, I was wondering how I could keep some rectangles inside of a given boundary, while also keeping the rectangles from intersecting each other. Diagram.pdf (158.6 KB)
hi,
this galapagos example might help you get started:
unnamed.gh (19.4 KB)
NOTE:
I added the initial boundary size to the galapagos gene pool, however, you might want to remove it if you determine a particular boundary size prior to placing rectangles inside of it - as with something like this it’s easy to chase your own tail - if you set a fixed boundary from the start, so it’s not connected to galapagos, then perhaps you can add a different ‘flow’ to the solver
- example provided ‘as is’ given your included .pdf diagram.
Best
2 Likes
This worked wonders, thank you so much!