-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
035f8a3
commit 9a4e2b4
Showing
3 changed files
with
65 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[gcode_macro SMUFF_SWAP_NEXT] | ||
description: Swaps to next tool on filament runout detection | ||
gcode: | ||
{% if printer.smuff.activetool < printer.smuff.tools %} | ||
SMUFF_TOOL_CHANGE T={printer.smuff.activetool + 1} | ||
{% else %} | ||
{ action_respond_info("No more tools available. Please reload SMuFF!") } | ||
{% endif %} | ||
|
||
[filament_switch_sensor my_sensor] | ||
pause_on_runout: FALSE | ||
runout_gcode: SMUFF_SWAP_NEXT | ||
event_delay: 90.0 |