Find points with a certain amount of neighbours

Hello!

I am currently searching for a solution for the following problem:

A certain pointcloud (planar) is given. I want to find the contour lines, e.g. when the point cloud looses density and later connect these areas with a polyline (blue in picture).
I therefore need to extract these contour points and then connect them. A way to find the contour points would be to etract all points, which dont have a certain amount of neighbours, but I am not sure about this approach.


elevation gh.3dm (28.4 KB)
elevation_re.gh (126.3 KB)

best
strudelone

These threads might be relevant?


elevation_reV2.gh (138.0 KB)

1 Like

Amazing. Thank you so much!