Making a grid with an offset - Pavers

Hi,

I’m new to grasshopper and trying to make a grid and want to include an offset to show the fill between the stones. Like in the image shown. Right now it is just made up of a grid of touching squares.

I would like the pavers to be 10m with a 1m gap in between.

The script is almost working perfectly except this small detail. Does anyone know how to add this?

NEW SCRIPT

180228 Paving offset of 1mm.gh (23.1 KB)

WARNING!!! Opening this file is SLOW!

slow

3 Likes

1 min 27 secs on my machine. I couldn’t optimize it better for him… Sorry.

1 Like

You shouldn’t start a new topic on the same thing. Just continue with the same one next time.

1 Like

Yes, you are right… it’s unnecessarily slow for this question. I will edit it.

Thank you!

If you can, reduce your initial geometry. I think you had too much of the rectangles outside of the desired area.

1 Like

This is a reduced file, it is enough to solve the task.

I would like the pavers to be 10m with a 1m gap in between.

180228 Paving offset of 1mm.gh (23.1 KB)

1 Like

10 X 12 is enough to work on the problem!

2 Likes

Thank you!

Hi.
This could be another solution for you…
Lunchbox is required. I used mesh approach at the end for speed things up…
Try to use the sliders in the red group.

Grid spacing within defined area V2_re.gh (21.9 KB)

2 Likes

Cool!

Thank you. I will take a look at it!

1 Like

Epic as always! :slight_smile:

1 Like

Given your original script and few very clever ideas from Joseph and Kim, here is a faster version of your script.

Grid spacing within defined area V3.gh (29.0 KB)

1 Like

Fantastic! Thanks!

1 Like

First make the “pavers” 11m. Then just offset them .5.
OffsetPavers
Real bricks would be 7-5/8" x 2-3/8" to lay up at 8" x 3" with 3/8" joint.
Pavers are a little different. Maybe only 1/8" joint for sand. Real World stuff.

1 Like