Skip to content

Commit

Permalink
compat: Uppercase macros to workaround front-end bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
jschuh committed Apr 14, 2023
1 parent 358439d commit 8427cf6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,6 @@ path: ~/gcode_files # UPDATE THIS FOR YOUR PATH!!!
[display_status]
# Uncomment the sections below if Fluidd complains (because it's confused).
#[gcode_macro CANCEL_PRINT]
#rename_existing: CANCEL_PRINT_FAKE_BASE
#gcode: CANCEL_PRINT_FAKE_BASE {rawparams}
```

## Slicer Configuration
### PrusaSlicer / SuperSlicer
Expand Down
10 changes: 6 additions & 4 deletions pause_resume_cancel.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#
# This file may be distributed under the terms of the GNU GPLv3 license.

# Enables pause/resume functionality
[gcode_macro pause]
# TODO: Fix casing after front-ends get fixed
[gcode_macro PAUSE]
description: Pauses the current print.
Usage: PAUSE [X=<pos>] [Y=<pos>] [Z=<pos>] [E=<retract_length>] [B=<beeps>]
rename_existing: _KM_PAUSE_BASE
Expand Down Expand Up @@ -75,7 +75,8 @@ rename_existing: M25.6245197
gcode:
PAUSE

[gcode_macro resume]
# TODO: Fix casing after front-ends get fixed
[gcode_macro RESUME]
description: Resumes the currently paused print.
Usage: RESUME [E<pos>]
rename_existing: _KM_RESUME_BASE
Expand Down Expand Up @@ -116,7 +117,8 @@ gcode:
{ action_respond_info("Printer is not paused.") }
{% endif %}

[gcode_macro cancel_print]
# TODO: Fix casing after front-ends get fixed
[gcode_macro CANCEL_PRINT]
description: Cancels the current print.
Usage: CANCEL_PRINT
rename_existing: _KM_CANCEL_PRINT_BASE
Expand Down
3 changes: 2 additions & 1 deletion start_end.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
#
# This file may be distributed under the terms of the GNU GPLv3 license.

[gcode_macro print_start]
# TODO: Fix casing after front-ends get fixed
[gcode_macro PRINT_START]
description: Inserted by slicer at start of print.
Usage: PRINT_START BED=<temp> EXTRUDER=<temp> [CHAMBER=<temp>]
[MESH_MIN=<x,y>] [MESH_MAX=<x,y>] [LAYERS=<num>]
Expand Down

0 comments on commit 8427cf6

Please sign in to comment.