Setting a boundary for shapes

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)

this galapagos example might help you get started: (19.4 KB)

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 :grin:- 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 :wink: - example provided ‘as is’ given your included .pdf diagram.



This worked wonders, thank you so much!