How to stop extruder 3d printer when move travel

Hello everybody, can you guide me, on how to stop extruder printing when moving to another layer? Thanks
3d printing (20.2 KB)

the point is realtime

what do you mean exactly?
I have opened your file, it generates the curve-path on several height to be used by a 3D printer, that’s pretty clear

in order to make the extruder stop printing you must have made the extruder start printing first :slight_smile:
how do you make it start printing?

Have you found any solution? I am dealing with how to stop extruding in travel movement.

Why are you trying to generate your own gcode?