and I want to define the ridges on the surface.
(for every local minimum, I want to define the border of the area from which a ball would roll to that minimum and not the neighboring shown with the dotted curves in the image)
can this easily be defined?
I could ‘fake’ it by approximating it with a voronoi projection, but I bet it can be done more accurately.
This is one possible way, using slopes, you could probably get more precision by calculating the gradient and the divergent of the mesh or by mapping the surface into an image and using edge detection but then again is more difficult. Slopes.gh (21.1 KB)