Connect lines neatly with lines

Hello, I’m a beginner at Grasshopper. Please help me with this problem.


I made it with the same algorithm as the image above.

This is the kind of connection I want

Like this, the shape of the line is not connected as desired.
I want to ask you how to solve this problem.
Please I beg you.
help.gh (16.8 KB)
I also attach the grasshopper file.

Hello,

Have a look at this, I cleaned the surface definition.
The projection works but connecting the curves afterwards doesn’t. How would you expect the path to behave given all these holes ? Could you draw a aketch of your desired result ?

help.gh (16.6 KB)

Hello
it is not an easy task. This problem is related to this discussion

My plugin Nautilus allows to make such pattern with a single curve, but it is not free.

Thank you so much for your answer!!

But it seems different from my final goal.
I posted the wrong example. I’m sorry.
I think the method you told me can only be used on a flat surface.
I want to project a surface of a curved surface onto a combined object.
I’ll upload the data again
help.3dm (155.8 KB)
help.gh (15.5 KB)

Thank you for your reply.
But I just need a line that connects holes when I project them.