Chainmail apply to Double-Curvature Surfaces

Hi,
I want to apply a chainmail system double curved surface. I looked at Joseph Oster’s script here, (shout out to Joseph Oster, thank you so much, it is very helpful)https://www.grasshopper3d.com/forum/topics/chainmail-array-on-multiple-surfaces the script seems to work based on the principle of Y countours to set the density for chainmails. But the Y countours could lead some areas to be denser and some areas to be less denser. Is there a way to apply a unified-density chainmail system to double-curvature surfaces?

Also I am not sure how to change the ring size, right now it looks too large


surface.3dm (1.5 MB)

this is the surface that I am trying to apply chainmail.