diff --git a/config_section/Plus4/macros.cfg b/config_section/Plus4/macros.cfg index bcf3804..263d237 100644 --- a/config_section/Plus4/macros.cfg +++ b/config_section/Plus4/macros.cfg @@ -677,10 +677,13 @@ gcode: # Filament Macros ######################################## [gcode_macro UNLOAD_FILAMENT] -description: Unloads filament from toolhead +description: Unloads filament from toolhead with tip forming gcode: {% set EXTRUDER_TEMP = params.TEMP|default(230)|int %} {% set CURRENT_TEMP = printer.extruder.temperature|int %} + + M118 Starting filament unload with tip forming... + {% if CURRENT_TEMP < EXTRUDER_TEMP %} M104 S{EXTRUDER_TEMP} ; heat up the hotend {% endif %} @@ -692,14 +695,20 @@ gcode: {% endif %} SET_STEPPER_ENABLE STEPPER=extruder ENABLE=1 ; enable extruder stepper M83 ; set extruder to relative mode - G1 E5 F150 ; extrude a small amount to elimate soften the filament - G1 E-8 F1800 ; quickly retract a small amount to elimate stringing - G4 P200 ; pause for a short amount of time - G1 E-50 F300 ; retract slowly the rest of the way + + ; Simplified tip forming sequence to prevent jamming + G1 E5 F300 ; extrude to ensure clean melt + G1 E-3 F1800 ; small quick retract to start tip + G4 P200 ; pause to cool slightly + G1 E2 F150 ; gentle push to shape tip + G1 E-10 F3000 ; fast retract to thin and snap tip + G4 P300 ; cooling pause + G1 E-60 F800 ; slow steady extraction from hotend + M104 S0 ; turn off hotend LEAVE_POOP_SHOOT ; leave poop shoot M400 ; wait for moves to finish - M118 Unload Complete! + M118 Unload complete - Tip formed! [gcode_macro LOAD_FILAMENT] @@ -707,6 +716,9 @@ description: Loads filament to toolhead gcode: {% set EXTRUDER_TEMP = params.TEMP|default(230)|int %} {% set CURRENT_TEMP = printer.extruder.temperature|int %} + + M118 Starting filament load... + {% if CURRENT_TEMP < EXTRUDER_TEMP %} M104 S{EXTRUDER_TEMP} ; heat up the hotend {% endif %} @@ -718,8 +730,20 @@ gcode: {% endif %} SET_STEPPER_ENABLE STEPPER=extruder ENABLE=1 ; enable extruder stepper M83 ; set extruder to relative mode - G1 E5 F120 ; feed filament - G1 E5 F300 ; feed filament + + ; Progressive loading sequence + G1 E10 F200 ; slow initial feed to guide filament + G1 E30 F600 ; faster feed through tube + G1 E20 F400 ; medium speed approaching hotend + G1 E10 F200 ; slow feed into melt zone + G1 E15 F150 ; very slow extrusion to ensure melt + G4 P1000 ; pause to stabilize flow + G1 E5 F100 ; final purge at low speed + + M104 S0 ; turn off hotend + LEAVE_POOP_SHOOT ; leave poop shoot + M400 ; wait for moves to finish + M118 Load complete! G1 E40 F600 ; feed filament G1 E15 F300 ; feed filament G1 E15 F120 ; feed filament diff --git a/config_section/Q1_Pro/macros.cfg b/config_section/Q1_Pro/macros.cfg index 55ff5c3..613858a 100644 --- a/config_section/Q1_Pro/macros.cfg +++ b/config_section/Q1_Pro/macros.cfg @@ -561,10 +561,12 @@ gcode: # Filament Macros ######################################## [gcode_macro UNLOAD_FILAMENT] -description: Unloads filament from toolhead +description: Unloads filament from toolhead with tip forming gcode: {% set EXTRUDER_TEMP = params.TEMP|default(230)|int %} {% set CURRENT_TEMP = printer.extruder.temperature|int %} + + M118 Starting filament unload with tip forming... GO_TO_POOP_BUCKET ; go to poop bucket @@ -577,14 +579,20 @@ gcode: {% endif %} SET_STEPPER_ENABLE STEPPER=extruder ENABLE=1 ; enable extruder stepper M83 ; set extruder to relative mode - G1 E5 F150 ; extrude a small amount to elimate soften the filament - G1 E-8 F1800 ; quickly retract a small amount to elimate stringing - G4 P200 ; pause for a short amount of time - G1 E-50 F300 ; retract slowly the rest of the way + + ; Simplified tip forming sequence to prevent jamming + G1 E5 F300 ; extrude to ensure clean melt + G1 E-3 F1800 ; small quick retract to start tip + G4 P200 ; pause to cool slightly + G1 E2 F150 ; gentle push to shape tip + G1 E-10 F3000 ; fast retract to thin and snap tip + G4 P300 ; cooling pause + G1 E-60 F800 ; slow steady extraction from hotend + M104 S0 ; turn off hotend and wait for cooldown before leaving LEAVE_POOP_BUCKET ; leave poop bucket M400 ; wait for moves to finish - M118 Unload Complete! + M118 Unload complete - Tip formed! [gcode_macro LOAD_FILAMENT] @@ -592,6 +600,8 @@ description: Loads filament to toolhead gcode: {% set EXTRUDER_TEMP = params.TEMP|default(230)|int %} {% set CURRENT_TEMP = printer.extruder.temperature|int %} + + M118 Starting filament load... GO_TO_POOP_BUCKET ; go to poop bucket @@ -605,14 +615,17 @@ gcode: SET_STEPPER_ENABLE STEPPER=extruder ENABLE=1 ; enable extruder stepper M107 ; turn off fan M83 ; set extruder to relative mode - G1 E5 F120 ; feed filament - G1 E5 F300 ; feed filament - G1 E40 F600 ; feed filament - G1 E15 F500 ; feed filament - G1 E15 F120 ; feed filament - G4 P200 ; pause for a short amount of time - G1 E10 F90 ; feed filament - G4 P3000 ; wait a bit to finish oozing + + ; Progressive loading sequence + G1 E10 F200 ; slow initial feed to guide filament + G1 E30 F600 ; faster feed through tube + G1 E20 F400 ; medium speed approaching hotend + G1 E10 F200 ; slow feed into melt zone + G1 E15 F150 ; very slow extrusion to ensure melt + G4 P1000 ; pause to stabilize flow + G1 E5 F100 ; final purge at low speed + G4 P2000 ; wait a bit to finish oozing + {% if printer.pause_resume.is_paused %} LEAVE_POOP_BUCKET ; leave poop bucket M118 Filament Loaded - Resuming Print... ; print message diff --git a/config_section/X-Max3/macros.cfg b/config_section/X-Max3/macros.cfg index aa66c50..af3e132 100644 --- a/config_section/X-Max3/macros.cfg +++ b/config_section/X-Max3/macros.cfg @@ -448,22 +448,31 @@ gcode: # Filament Macros ######################################## [gcode_macro UNLOAD_FILAMENT] -description: Unloads filament from toolhead +description: Unloads filament from toolhead with tip forming gcode: {% set EXTRUDER_TEMP = params.TEMP|default(230)|int %} {% set CURRENT_TEMP = printer.extruder.temperature|int %} + + M118 Starting filament unload with tip forming... + {% if CURRENT_TEMP < EXTRUDER_TEMP %} M109 S{EXTRUDER_TEMP} ; heat up the hotend {% endif %} SET_STEPPER_ENABLE STEPPER=extruder ENABLE=1 ; enable extruder stepper M83 ; set extruder to relative mode - G1 E5 F150 ; extrude a small amount to elimate soften the filament - G1 E-8 F1800 ; quickly retract a small amount to elimate stringing - G4 P200 ; pause for a short amount of time - G1 E-50 F300 ; retract slowly the rest of the way + + ; Simplified tip forming sequence to prevent jamming + G1 E5 F300 ; extrude to ensure clean melt + G1 E-3 F1800 ; small quick retract to start tip + G4 P200 ; pause to cool slightly + G1 E2 F150 ; gentle push to shape tip + G1 E-10 F3000 ; fast retract to thin and snap tip + G4 P300 ; cooling pause + G1 E-60 F800 ; slow steady extraction from hotend + M104 S0 ; turn off hotend M400 ; wait for moves to finish - M118 Unload Complete! + M118 Unload complete - Tip formed! [gcode_macro LOAD_FILAMENT] @@ -471,21 +480,27 @@ description: Loads filament to toolhead gcode: {% set EXTRUDER_TEMP = params.TEMP|default(230)|int %} {% set CURRENT_TEMP = printer.extruder.temperature|int %} + + M118 Starting filament load... + {% if CURRENT_TEMP < EXTRUDER_TEMP %} M109 S{EXTRUDER_TEMP} ; heat up the hotend {% endif %} SET_STEPPER_ENABLE STEPPER=extruder ENABLE=1 ; enable extruder stepper M83 ; set extruder to relative mode - G1 E5 F120 ; feed filament - G1 E5 F300 ; feed filament - G1 E40 F600 ; feed filament - G1 E15 F300 ; feed filament - G1 E15 F120 ; feed filament - G4 P200 ; pause for a short amount of time - G1 E10 F90 ; feed filament + + ; Progressive loading sequence + G1 E10 F200 ; slow initial feed to guide filament + G1 E30 F600 ; faster feed through tube + G1 E20 F400 ; medium speed approaching hotend + G1 E10 F200 ; slow feed into melt zone + G1 E15 F150 ; very slow extrusion to ensure melt + G4 P1000 ; pause to stabilize flow + G1 E5 F100 ; final purge at low speed + M104 S0 ; turn off hotend M400 ; wait for moves to finish - M118 Load Complete! + M118 Load complete! # Filament runout sensor enable/disable diff --git a/config_section/X-Plus3/macros.cfg b/config_section/X-Plus3/macros.cfg index 5d31455..ecbf041 100644 --- a/config_section/X-Plus3/macros.cfg +++ b/config_section/X-Plus3/macros.cfg @@ -375,22 +375,31 @@ gcode: # Filament Macros ######################################## [gcode_macro UNLOAD_FILAMENT] -description: Unloads filament from toolhead +description: Unloads filament from toolhead with tip forming gcode: {% set EXTRUDER_TEMP = params.TEMP|default(230)|int %} {% set CURRENT_TEMP = printer.extruder.temperature|int %} + + M118 Starting filament unload with tip forming... + {% if CURRENT_TEMP < EXTRUDER_TEMP %} M109 S{EXTRUDER_TEMP} ; heat up the hotend {% endif %} SET_STEPPER_ENABLE STEPPER=extruder ENABLE=1 ; enable extruder stepper M83 ; set extruder to relative mode - G1 E5 F150 ; extrude a small amount to elimate soften the filament - G1 E-8 F1800 ; quickly retract a small amount to elimate stringing - G4 P200 ; pause for a short amount of time - G1 E-50 F300 ; retract slowly the rest of the way + + ; Simplified tip forming sequence to prevent jamming + G1 E5 F300 ; extrude to ensure clean melt + G1 E-3 F1800 ; small quick retract to start tip + G4 P200 ; pause to cool slightly + G1 E2 F150 ; gentle push to shape tip + G1 E-10 F3000 ; fast retract to thin and snap tip + G4 P300 ; cooling pause + G1 E-60 F800 ; slow steady extraction from hotend + M104 S0 ; turn off hotend M400 ; wait for moves to finish - M118 Unload Complete! + M118 Unload complete - Tip formed! [gcode_macro LOAD_FILAMENT] @@ -398,21 +407,27 @@ description: Loads filament to toolhead gcode: {% set EXTRUDER_TEMP = params.TEMP|default(230)|int %} {% set CURRENT_TEMP = printer.extruder.temperature|int %} + + M118 Starting filament load... + {% if CURRENT_TEMP < EXTRUDER_TEMP %} M109 S{EXTRUDER_TEMP} ; heat up the hotend {% endif %} SET_STEPPER_ENABLE STEPPER=extruder ENABLE=1 ; enable extruder stepper M83 ; set extruder to relative mode - G1 E5 F120 ; feed filament - G1 E5 F300 ; feed filament - G1 E40 F600 ; feed filament - G1 E15 F300 ; feed filament - G1 E15 F120 ; feed filament - G4 P200 ; pause for a short amount of time - G1 E10 F90 ; feed filament + + ; Progressive loading sequence + G1 E10 F200 ; slow initial feed to guide filament + G1 E30 F600 ; faster feed through tube + G1 E20 F400 ; medium speed approaching hotend + G1 E10 F200 ; slow feed into melt zone + G1 E15 F150 ; very slow extrusion to ensure melt + G4 P1000 ; pause to stabilize flow + G1 E5 F100 ; final purge at low speed + M104 S0 ; turn off hotend M400 ; wait for moves to finish - M118 Load Complete! + M118 Load complete! # Filament runout sensor enable/disable diff --git a/config_section/X-Smart3/macros.cfg b/config_section/X-Smart3/macros.cfg index ac75e15..2a464fa 100644 --- a/config_section/X-Smart3/macros.cfg +++ b/config_section/X-Smart3/macros.cfg @@ -339,21 +339,30 @@ gcode: # Filament Macros ######################################## [gcode_macro UNLOAD_FILAMENT] -description: Unloads filament from toolhead +description: Unloads filament from toolhead with tip forming gcode: {% set EXTRUDER_TEMP = params.TEMP|default(230)|int %} {% set CURRENT_TEMP = printer.extruder.temperature|int %} + + M118 Starting filament unload with tip forming... + {% if CURRENT_TEMP < EXTRUDER_TEMP %} M109 S{EXTRUDER_TEMP} ; heat up the hotend {% endif %} SET_STEPPER_ENABLE STEPPER=extruder ENABLE=1 ; enable extruder stepper M83 ; set extruder to relative mode - G1 E5 F150 ; extrude a small amount to elimate soften the filament - G1 E-8 F1800 ; quickly retract a small amount to elimate stringing - G4 P200 ; pause for a short amount of time - G1 E-50 F300 ; retract slowly the rest of the way + + ; Simplified tip forming sequence to prevent jamming + G1 E5 F300 ; extrude to ensure clean melt + G1 E-3 F1800 ; small quick retract to start tip + G4 P200 ; pause to cool slightly + G1 E2 F150 ; gentle push to shape tip + G1 E-10 F3000 ; fast retract to thin and snap tip + G4 P300 ; cooling pause + G1 E-60 F800 ; slow steady extraction from hotend + M400 ; wait for moves to finish - M118 Unload Complete! + M118 Unload complete - Tip formed! [gcode_macro LOAD_FILAMENT] @@ -361,20 +370,26 @@ description: Loads filament to toolhead gcode: {% set EXTRUDER_TEMP = params.TEMP|default(230)|int %} {% set CURRENT_TEMP = printer.extruder.temperature|int %} + + M118 Starting filament load... + {% if CURRENT_TEMP < EXTRUDER_TEMP %} M109 S{EXTRUDER_TEMP} ; heat up the hotend {% endif %} SET_STEPPER_ENABLE STEPPER=extruder ENABLE=1 ; enable extruder stepper M83 ; set extruder to relative mode - G1 E5 F120 ; feed filament - G1 E5 F300 ; feed filament - G1 E40 F600 ; feed filament - G1 E15 F300 ; feed filament - G1 E15 F120 ; feed filament - G4 P200 ; pause for a short amount of time - G1 E10 F90 ; feed filament + + ; Progressive loading sequence + G1 E10 F200 ; slow initial feed to guide filament + G1 E30 F600 ; faster feed through tube + G1 E20 F400 ; medium speed approaching hotend + G1 E10 F200 ; slow feed into melt zone + G1 E15 F150 ; very slow extrusion to ensure melt + G4 P1000 ; pause to stabilize flow + G1 E5 F100 ; final purge at low speed + M400 ; wait for moves to finish - M118 Load Complete! + M118 Load complete! # Filament runout sensor enable/disable diff --git a/config_section/template/macros.cfg b/config_section/template/macros.cfg index eea2524..cf89e72 100644 --- a/config_section/template/macros.cfg +++ b/config_section/template/macros.cfg @@ -693,10 +693,13 @@ gcode: # Filament Macros ######################################## [gcode_macro UNLOAD_FILAMENT] -description: Unloads filament from toolhead +description: Unloads filament from toolhead with tip forming gcode: {% set EXTRUDER_TEMP = params.TEMP|default(230)|int %} {% set CURRENT_TEMP = printer.extruder.temperature|int %} + + M118 Starting filament unload with tip forming... + {% if CURRENT_TEMP < EXTRUDER_TEMP %} M104 S{EXTRUDER_TEMP} ; heat up the hotend {% endif %} @@ -708,14 +711,20 @@ gcode: {% endif %} SET_STEPPER_ENABLE STEPPER=extruder ENABLE=1 ; enable extruder stepper M83 ; set extruder to relative mode - G1 E5 F150 ; extrude a small amount to elimate soften the filament - G1 E-8 F1800 ; quickly retract a small amount to elimate stringing - G4 P200 ; pause for a short amount of time - G1 E-50 F300 ; retract slowly the rest of the way + + ; Simplified tip forming sequence to prevent jamming + G1 E5 F300 ; extrude to ensure clean melt + G1 E-3 F1800 ; small quick retract to start tip + G4 P200 ; pause to cool slightly + G1 E2 F150 ; gentle push to shape tip + G1 E-10 F3000 ; fast retract to thin and snap tip + G4 P300 ; cooling pause + G1 E-60 F800 ; slow steady extraction from hotend + M104 S0 ; turn off hotend LEAVE_POOP_SHOOT ; leave poop shoot M400 ; wait for moves to finish - M118 Unload Complete! + M118 Unload complete - Tip formed! [gcode_macro LOAD_FILAMENT] @@ -723,6 +732,9 @@ description: Loads filament to toolhead gcode: {% set EXTRUDER_TEMP = params.TEMP|default(230)|int %} {% set CURRENT_TEMP = printer.extruder.temperature|int %} + + M118 Starting filament load... + {% if CURRENT_TEMP < EXTRUDER_TEMP %} M104 S{EXTRUDER_TEMP} ; heat up the hotend {% endif %} @@ -734,17 +746,20 @@ gcode: {% endif %} SET_STEPPER_ENABLE STEPPER=extruder ENABLE=1 ; enable extruder stepper M83 ; set extruder to relative mode - G1 E5 F120 ; feed filament - G1 E5 F300 ; feed filament - G1 E40 F600 ; feed filament - G1 E15 F300 ; feed filament - G1 E15 F120 ; feed filament - G4 P200 ; pause for a short amount of time - G1 E10 F90 ; feed filament + + ; Progressive loading sequence + G1 E10 F200 ; slow initial feed to guide filament + G1 E30 F600 ; faster feed through tube + G1 E20 F400 ; medium speed approaching hotend + G1 E10 F200 ; slow feed into melt zone + G1 E15 F150 ; very slow extrusion to ensure melt + G4 P1000 ; pause to stabilize flow + G1 E5 F100 ; final purge at low speed + M104 S0 ; turn off hotend LEAVE_POOP_SHOOT ; leave poop shoot M400 ; wait for moves to finish - M118 Load Complete! + M118 Load complete! # Filament runout sensor enable/disable