Last active
May 22, 2023 11:13
-
-
Save alienboyxp/c730e8f064f8515efcb87cf9d34ae774 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Current Version v_202305221109 | |
# Mas info - https://3dwork.gitbook.io/3dwork.io/klipper/mejoras/macros-mejoras/cambio-filamentos-m600 | |
[gcode_macro PAUSE] | |
description: Pausa la impresion actual. | |
rename_existing: BASE_PAUSE | |
gcode: | |
{% if not printer.pause_resume.is_paused %} | |
{% set vg = printer["gcode_macro _VAR_GLOBALS"] %} | |
SET_GCODE_VARIABLE MACRO=_VAR_GLOBALS VARIABLE=temp_extruder_pause VALUE={printer.extruder.target} | |
M400 | |
SAVE_GCODE_STATE NAME=PAUSE_state | |
BASE_PAUSE | |
BEEP | |
MOVE_PARK | |
BEEP R={vg.beeps} | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment