Cull out points from a list of points in Z axis

Hi,

I’m trying to cull out points based on a pattern of true/false but on a flattened list. What would be the best way to do it?
I believe we need to cluster the point by the Z value, but I haven’t found a good way to do it.
Thank you in advance!


PointCloud_Cullout_inZ.gh (525.7 KB)

Use unflattened data ! :sweat_smile:

More seriously, would this be possible ? Because Z values are not constant so grouping by Z seems a dead end. A base surface or base curves could help ?

Well…That’s what I was scared of! :joy:
I have base curves but It is not clear to me how they can help, since the points are flattened. Any tip?


PointCloud_Cullout_inZ.gh (1.0 MB)

It´s useful to classify the points by “row”.

Now it´s just basically remove every other two row ?

There are some problems of top. Curves are too short and some are missing…

PointCloud_Cullout_inZ(1).gh (1.0 MB)

1 Like

This is awesome! Will try. I believe the problems at the top can be fixed by using the vertices instead of the center point, which is the one I’m using in the definition. Thank you for your input!!