Skip to content

General

Prusa MK3/S/+

Using the heated bed to dry filament Current setup for my MK3 has an Ender 3 soft enclosure. I keep about 3 inches open on the top to avoid melting original MK3 parts that are PETG.

I could not find the original source for the gcode but it was on reddit somewhere.

gcode
; G-Code for drying ABS filament

M73 P0 R480 ; Percent complete and time remaining on LCD screen
M117 Drying ABS Filament; Display text on LCD screen

M201 X1000 Y1000 Z200 E5000 ; sets maximum accelerations, mm/sec^2
M203 X200 Y200 Z12 E120 ; sets maximum feedrates, mm / sec
M204 P1250 R1250 T1250 ; sets acceleration (P, T) and retract acceleration (R), mm/sec^2
M205 X8.00 Y8.00 Z0.40 E4.50 ; sets the jerk limits, mm/sec
M205 S0 T0 ; sets the minimum extruding and travel feed rate, mm/sec
M107 ; disable fan
;TYPE:Custom
M862.3 P "MK3S" ; printer model check
M117 Drying ABS Filament; Display text on LCD screen
G90 ; use absolute coordinates
G28 W ; home all without mesh bed level
G1 X100 Y200 Z200.0 F720 ; move x-axis to top to make space for box and move printer bed to front
M117 Place spool on bed
M601


; for i in range (480,0,-10):
;    print(f"M73 P" + str(round((100 - (i/480)*100))) +" R" + str(i) + " ;Percent complete and time remaining")
;    print("M140 S80 ; set bed temps")
;    print("G4 600 ; wait for 10 minutes")
;    print("")

; Insert output of Python snippet here.
; Start


; End


M117 Program Complete; Display text on LCD screen
M300 S1000 P500 ; Beep
M300 S0 P500 ; Wait
M300 S1000 P1000 ;Second beep
M300 S0 P500 ; Wait
M300 S1000 P1500 ;Third beep
M104 S0 ; turn off temperature
M140 S0 ; turn off heatbed
M107 ; turn off fan

M84 ; disable motors
M73 P100 R0
M73 Q100 S0

Bambu Lab X1C

Stop unloading the filament after each print

On the printer profile, comment out the following g-code.

gcode
m620 s255