Keep grid of points ordered when dispatching points

Hello readers,

I’m making points grid in order to make a surface (for flowing objects)

Some of these points are are moved in a direction some in another.

I am using a curve to select the points and the dispatch function.

the problem is that i am not able to create the “square” surface has the 2 lists don’t make a good points structure…

could an expert show me the way !!??

Thanks for your help

Fred

points2surf.gh (10.3 KB)

If you Graft the points, they will retain their tree path as they are processed (and hence their place in the list when flattened again)

(Clean Tree is required to strip out <null>s)

graftedpoints2surf.gh (9.6 KB)

take the boolean information and weave it back together…

points2surf.gh (21.6 KB)

That’s neat :slight_smile:

Although I think if there are more processing steps to come, it would need to be applied after each step to maintain order. With the grafting method, the order is preserved no matter what (unles you deliberately destroy the path data)/

agree that your proposed method is better, but less user-friendly :slight_smile:

Thanks guys for your returns !

Right, I will explore Tom’s solution !

Fred