Remove Close Points

Hi Guys,

I have multiple points and I want to remove the ones which are too close to each other with a given distance. I.e remove all points which are closer than 1m

I only want it to remove the least amount of points. So for example, if three points are too close, just delete 2 instead of all three.

I’m not sure what the logic is in grasshopper?

Points.gh (8.5 KB)

Many Thanks!

Cull Duplicates, set your own distance tolerance.

Thank you Piotr!