Locate ridges on a surface

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)