Voronoi mesh thickness using two curves

Hello,
I am trying to make Voronoi mesh smooth as this one

But at the end, I have this result: sharp edges, coming out from the surface ( see the green mesh)

Do you have any clue why, and what I need to look at in order to fix it?

Here are the script and the curves:
VORONOI ON SURFACE USE FOR WALLS.gh (18.0 KB)
WALL TRY FIT CAPSULE TO VORONOI.3dm (3.1 MB)

Thank you for your time! Have a great day ^^

Check this out…

VORONOI ON SURFACE USE FOR WALLS_re.gh (19.8 KB)

2 Likes

Thank you so much Kim, it worked !