Wave texture along the object

Good day
the issue that I am runing into is that i have an object (Icosphere) in a shape with holes in it. How do you make the wave texture go along the curved edges/faces and not just layed ober the object?
I just can’t figure it out

thank you for your help
mastart

If you unwrap with Follow Active Quads?

sorry, it is not a texture but a node set up… my bad

Actually if you unwrap you’ll need to give it some corrections to make it work, so I’m not sure there’s any easy and automatic way to do it correctly

Thank you anyway.
I am convinced that there is a way of doing it with pbr and not using Texture…

maybe there is someone out there who knos it…