Notifiche
Cancella tutti

Unload filament on end of print  

  RSS
Gaille
(@gaille)
Utenti
Unload filament on end of print

good day everyone

I have one question

I print in two colors on mk4s and after each print finish, I need to change the filament. so I'm wondering if I can somehow set it up so that when the print is finished, it automatically unload the filament?

because like this, when the print is finished, I have to manually click the change filament and wait for it to heat up, etc

Postato : 28/02/2025 10:01 am
JoanTabb
(@joantabb)
Veteran Member Moderator
RE: Unload filament on end of print

at least two options, 
Option 1 
Edit the Custom Gcode, End Gcode, to unload the filament

something like this 

Option 2
Have you considered using MMU3, 
MMU3 automatically inserts one of five filaments at the beginning of the print, and unloads the filament at the end of the print, saving you, the effort...

I try to make safe suggestions,You should understand the context and ensure you are happy that they are safe before attempting to apply my suggestions, what you do, is YOUR responsibility.Location Halifax UK

Postato : 28/02/2025 10:18 am
1 persone hanno apprezzato
Gaille
(@gaille)
Utenti
Topic starter answered:
RE: Unload filament on end of print

thanks for the quick reply 🙂 

this is how it should be?

Postato : 28/02/2025 11:09 am
Steve
(@steve-11)
Eminent Member
RE: Unload filament on end of print

Funny enough I very often have the same need and have opted for option 2 🙂 

Postato : 28/02/2025 12:58 pm
TeamD3dp
(@teamd3dp)
Estimable Member
RE: Unload filament on end of print

I believe you want to add that gcode to the Custom G-code under the "Printers" tab, not the "Filament" tab.  The clue in Joan's post is the surrounding gcode referring to turning off the temperature, turning off the heat bed etc.  Those are not related to the filament gcode.

I'll be trialing this as well since most of my prints are one-offs, and I often want to unload filament between jobs.

-J

Posted by: @gaille

thanks for the quick reply 🙂 

this is how it should be?

 

Postato : 01/03/2025 2:43 pm
Gaille
(@gaille)
Utenti
Topic starter answered:
RE: Unload filament on end of print

I tried what Joan said and it works 🙂 .

but the filament thread remains. I would like the printer's head to return to its initial position to eject some filament on the nozzle and then return it and eject it from the head. literally the same as when it does a filament swap while printing. Can someone write such a code for me to try?

Postato : 01/03/2025 2:54 pm
TeamD3dp
(@teamd3dp)
Estimable Member
RE:

I do wonder, however, how this simple retraction command compares (practically) from the two part unloading sequence that is standard in the MK4S firmware.  Doing a firmware unload heats up the hotend to the material temperature, does a partial retraction of some distance, pauses, and then does the final (faster?) retraction.  I suspect that the firmware sequence has some functional advantage in removing more residual material from the nozzle.  

Does anyone know how to find this firmware unloading G-code?  Or is there a G-code command that can be added to trigger the firmware unloading sequence directly?  Perhaps M702 T0 ; Unload Filament?

-J

Postato : 01/03/2025 3:04 pm
TeamD3dp
(@teamd3dp)
Estimable Member
RE: Unload filament on end of print

I've just saved a User Preset with this edited G-code in the "Printers" tab in prusaslicer.  I've commented the M702 T0 line so it will normally be ignored, but if I want to unload after a job, all I have to do is remove the ";" and send the job.  I'll try it out the next time I need to print something. @Gaille Thank you for asking this question because it's been on my to-do list for a while now.  🙂 

 

Postato : 01/03/2025 3:33 pm
iftibashir
(@iftibashir)
Noble Member
RE: Unload filament on end of print

Same lol

Even for single colour prints its great having your main colours there and ready - no manual loading/unloading!

Posted by: @steve-11

Funny enough I very often have the same need and have opted for option 2 🙂 

 

Click here for VIDEO BUILD GUIDES + 3D Printing Tips!

--> Core One - MK4 - MK4S - MINI+ - MMU3 - Accelerometer Guide <--

Postato : 07/03/2025 10:02 am
Lily Clark
(@lily-clark)
Active Member
RE: Unload filament on end of print

The way to do this is by modifying your End G-code in PrusaSlicer. The printer itself doesn't have a setting to "auto-unload after print," but you can tell it to initiate the filament change/unload procedure once the print is complete.

The G-code command for initiating a filament change (which includes unloading the current 3D printer filament) is M600.

Here's how to set it up:

Open PrusaSlicer.

Go to the "Printer Settings" tab.

Select "Custom G-code" from the left-hand menu.

Find the "End G-code" section. This is a list of commands that run after every print.

You'll want to add the M600 command. A good place to add it is usually before commands that turn off heaters or disable motors, but after any movements that present the print.

Posted by: @gaille

good day everyone

I have one question

I print in two colors on mk4s and after each print finish, I need to change the filament. so I'm wondering if I can somehow set it up so that when the print is finished, it automatically unload the filament?

because like this, when the print is finished, I have to manually click the change filament and wait for it to heat up, etc

 

Postato : 28/05/2025 2:12 pm
Pat Cummins
(@pat-cummins-2)
Utenti
RE:

 

Posted by: @gaille

good day everyone

I have one question

I print in two colors on mk4s and after each print finish, I need to change the filament. so I'm wondering if I can somehow set it up so that when the print is finished, it automatically unload the filament?

because like this, when the print is finished, I have to manually click the change filament and wait for it to heat up, etc. bed terraria

Good day. To automatically unload filament after each print, you could try a custom end G-code script that retracts it onto the bed terraria.

Questo post è stato modificato 4 weeks fa da Pat Cummins
Postato : 21/08/2025 11:29 am
Sembazuru
(@sembazuru)
Noble Member
RE:

FYI, on the recent 6.4.0-alpha Buddy firmware (now common across all the Buddy based printers) the printer does a partial retract including the ramming (small extrude) that the filament swap does after printing to get the filament out of the hot nozzle. The idea is you shouldn't have to heat the extruder back up to unload if you let everything cool down. I don't think it completely unloads, but if the printer is off you can always open the tension door to pull the filament end free of the feed gear.

This is alpha firmware so "there be monsters ahead". I've heard some reports of corrupted SD cards. Unless you are adventurous, you may want to wait for the beta releases. Or to be even safer, wait for the final release before upgrading your firmware.

Questo post è stato modificato 4 days fa 2 tempo da Sembazuru

See my (limited) designs on:
Printables - https://www.printables.com/@Sembazuru
Thingiverse - https://www.thingiverse.com/Sembazuru/designs

Postato : 15/09/2025 6:55 pm
Condividi: