Hello
welcome to the community, most of the time if you want some useful answers it is better you post your script and geometry or from a Rhino file or internalized geometry in Grasshopper.
Without that information helper has to recreate your geometry and it could be done in a different ways from yours so this could not help you.
Here are some good advice.
If your geometry is a surface, you just have to use UV coordinate (reparameterized is more simple) then you can get something like that coordinate of a curve is
(x, (x*f(x))%1)
x is [0,1],
…
and if you have mesh and no UV it could be possible to use vector flow
30°
60°