Help - Curves to one open curve for Gcode

Hi there,
I want to print my closed curves like a vase mode but I always failed with it.
Long story short, I wanna printing like this
https://www.instagram.com/p/CfLuA6-DRz5/
İf you slide the instagram post you can see closed curves and printing process
Please help me! Thank you in advance!

Can you post your curves? What is the particular problem?

Hello, my curves like this

I use this script for gcode


But gcode print first curve numbered 1 then 2 on first image

I want to printing like one curve you see drawing 4

Is it respecting the input (selecting curves in order) and the direction of the curve (Flip command) ?