Object different size same distance

Hello,

I am creating an array of rectangles where the size of each rectangle is determined by a series. I want the distance between the rectangles to be consistent every time. Am I missing a simple command to achieve this? I can’t seem to find it. Thank you so much for your help.

Kind regards,
Tim

Array same distance different size.gh (8.1 KB)

image

Blockquote Am I missing a simple command
There’s no ‘simple’ command for this afaik. Takes a bit of work.


ECHOBOX.gh (14.2 KB)

1 Like

There’s an “arrange in grid” component in wombat that will do this for you — just crank up the “Items in Row” input to do a single row.

Without a plugin, you can also use this pattern:

1 Like

Array same distance different size Edited V0.gh (14.7 KB)

Just use Wombat.


u

Thank you so much this helps a lot!


Array same distance different size_2023Jun2a.gh (10.8 KB)