Design Options Script: Cube Creation and Auto Spacing

Hello,

I am currently working on a design options script that will create random cube sizes on a grid in random arrangements to represent a city block. I am having trouble when I try to randomize the placement of these cubes, they all smash into each other even though I have set a spacing for each cube. I have stared at this script so long that I am no longer making progress so any help would be greatly appreciated.

Thank you!

180705_Design Option Script .dyn (49.5 KB)

Can you post an image of your graph and the issues you’re having? The spacing seems fine when I opened the dyn.

1 Like