ICE: Selecting every N points in a grid


Here’s a question from the Softimage mailing list, and what I would have answered (I didn’t answer, and I didn’t peek at the other answers either).

Given a 100×100 Grid point cloud, how would you do something to the following subsets of points?
[0,5,10, … 595] and [1000,5,10, … 1595]

For something like that, modulo is an obvious way to do it:
grid_every_n
Contrast the above with this nicer tree

Here’s [a cruder?] approach using linearly interpolated arrays:
grid_every_n_1

See also this for some compounds.