Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 32 additions & 8 deletions config_section/Plus4/macros.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand All @@ -692,21 +695,30 @@ 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]
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 %}
Expand All @@ -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
Expand Down
41 changes: 27 additions & 14 deletions config_section/Q1_Pro/macros.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -577,21 +579,29 @@ 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]
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

Expand All @@ -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
Expand Down
43 changes: 29 additions & 14 deletions config_section/X-Max3/macros.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -448,44 +448,59 @@ 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]
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
Expand Down
Loading