Hello
I am not sure to understand your question. It seems obvious you want a path for 3d printing. There are many strategies but you show one with an open path (zig zag) and one with a closed path (circles).
I didn’t worked on open path, but on closed path.
If you want to stop extrusion, your approach could be enough but you will have to know when stopping the extrusion.
If you want not to stop extrusion, it is better to make closed single path on each layer and then join the curves.
It could be also good that your filling keep a circle for the base, it could be more beautiful.
I made a paid plugin to do all of that (the filling pattern, joining the curves …) but it seems not worth for me to let it online.