G-Code for filament retraction
Hi,
Whenever I finish a print and go back and start another print, some filament oozes out of the nozzle while the extruder is pre-heating. Once pre-heating is done, I wipe it off, but I have to watch and be sure to do this or the string of filament winds up as part of the print somewhere.
I'd like to add a command in Printer Settings, Custom G-Code, End G-Code to retract the filament 3mm or so automatically at the end of each print. On my previous printer that seemed to take care of the problem. And, given that the MK3 does an initial extrude strip to insure filament is flowing, the retraction won't hurt anything.
Can someone tell me what the G-Code would be to retract 3mm of filament (relative).
Thanks.
Re: G-Code for filament retraction
I see this is very old, I would also like to find some information about this issue.
Re: G-Code for filament retraction
I added the following and it works very well
In Printer Settings, Custom G-Code, in the End G-Code block, just above the M84 line
M83 ; set to relative
G1 E-4 F900 ; retract 4mm at 15mm/sec
RE: G-Code for filament retraction
I added the following and it works very well
In Printer Settings, Custom G-Code, in the End G-Code block, just above the M84 line
M83 ; set to relative
G1 E-4 F900 ; retract 4mm at 15mm/sec
Thank You! Worked as I was hoping. I still wish Prusa would add this to Slicer as an advanced setting option with warnings like they have on their other settings.
RE: G-Code for filament retraction
What do you do when you change filament before a print? It would not have done a retraction before you start the next print.
I added the following and it works very well
In Printer Settings, Custom G-Code, in the End G-Code block, just above the M84 line
M83 ; set to relative
G1 E-4 F900 ; retract 4mm at 15mm/sec
RE: G-Code for filament retraction
@TeeBell
If you're changing filament by hand you can run the extruder (E-Axis) forward a few mm. Pull off the extruded plastic, then roll back the extruder.
Settings -> Move Axis -> Extruder.
RE: G-Code for filament retraction
Thank you. Worked well.
I added the following and it works very well
In Printer Settings, Custom G-Code, in the End G-Code block, just above the M84 line
M83 ; set to relative
G1 E-4 F900 ; retract 4mm at 15mm/sec