Help with turning a Curvature map into a mask for edge wear

That’s (more or less) entirely the point of ‘Substance Designer’. Have you looked into it, and decided against using it for some reason?