mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-14 02:54:28 +05:00
add: mainsail_macros.cfg
This commit is contained in:
42
resources/mainsail_macros.cfg
Normal file
42
resources/mainsail_macros.cfg
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
##########################
|
||||||
|
### CREATED WITH KIAUH ###
|
||||||
|
##########################
|
||||||
|
[gcode_macro CANCEL_PRINT]
|
||||||
|
rename_existing: BASE_CANCEL_PRINT
|
||||||
|
default_parameter_X: 230
|
||||||
|
default_parameter_Y: 230
|
||||||
|
default_parameter_Z: 10
|
||||||
|
gcode:
|
||||||
|
M104 S0
|
||||||
|
M140 S0
|
||||||
|
M141 S0
|
||||||
|
M106 S0
|
||||||
|
CLEAR_PAUSE
|
||||||
|
SDCARD_RESET_FILE
|
||||||
|
BASE_CANCEL_PRINT
|
||||||
|
|
||||||
|
[gcode_macro PAUSE]
|
||||||
|
rename_existing: BASE_PAUSE
|
||||||
|
default_parameter_X: 230
|
||||||
|
default_parameter_Y: 230
|
||||||
|
default_parameter_Z: 10
|
||||||
|
gcode:
|
||||||
|
SAVE_GCODE_STATE NAME=PAUSE_state
|
||||||
|
BASE_PAUSE
|
||||||
|
G91
|
||||||
|
G1 E-1.7 F2100
|
||||||
|
G1 Z{Z}
|
||||||
|
G90
|
||||||
|
G1 X{X} Y{Y} F6000
|
||||||
|
G91
|
||||||
|
|
||||||
|
[gcode_macro RESUME]
|
||||||
|
rename_existing: BASE_RESUME
|
||||||
|
gcode:
|
||||||
|
G91
|
||||||
|
G1 E1.7 F2100
|
||||||
|
G91
|
||||||
|
RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1
|
||||||
|
BASE_RESUME
|
||||||
|
##########################
|
||||||
|
##########################
|
||||||
Reference in New Issue
Block a user