looking for g-code to insert at specific height within prusa slicing program to make hot end move to x-20 y20 and pause.
so that I can switch filament color on ender 3 pro.
without having filament leaking out onto project while pushing the filament down the bowden tube.
(the x20 y 20 is the safe location where the PLA can leak out with no issue)
actually, having it extract the filament at this time so it’s only in the bowden tube would be great, then I could tell it to cool the hot end down to 0 until I can load the different filaments and heat up the hot end again.
right now I am ready to test this (unless improvements can be suggested)
G90 ; Set all axes to absolute
G01 X20 Y20 Z30; move to (20mm,20mm,30mm)
Also,
S0 should be:
M104 S0; set hotend temp to 0 degrees (Could set to a standby temperature for faster warm up?)
FWIW, Marlin gcode reference: [https://marlinfw.org/meta/gcode/](https://marlinfw.org/meta/gcode/)
Cheers