Checkerboard selection

Hi guys, I have a problem, I have to get this result (fig.1), on the group of boxes in the (fig.2).
Thanks for the help.
(fig.1)


(fig.2)

help.gh (12.7 KB)
help.3dm (27.3 KB)

Who wrote this code for you? If you had written it yourself, I think it would be obvious to you that you are culling results that have already been culled.

Sorry, it is not easy to explain. From the box group in the (fig.2) I want to separate the boxes (horizontally and vertically) like this:

0 1 0 1
1 0 1 0
0 1 0 1

but not like this:

0 1 0 1
0 1 0 1
0 1 0 1

This is the result that I want, (but this is made in Rhino manually).

(fig.1) was just an example.

Since it looks like the boxes are on a regular grid, I think the easiest way to do this would be to scale and move them so that their centres are at unit spacings, then cull using (x+y+z)%2

Canvas at 15;17;31


offset issue_2017Nov23a.gh (20.7 KB) (attractor curves internalized)

Check this as well.

help_re.gh (16.7 KB)

1 Like

Thanks to everyone, you have been very kind!