Last active
May 22, 2023 11:13
-
-
Save alienboyxp/54da6658a58624ecff466afaebfc7004 to your computer and use it in GitHub Desktop.
3Dwork.io - Klipper - Macro resume
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 RESUME] | |
description: Reanuda la impresion si la impresora esta en pausa. | |
rename_existing: RESUME_BASE | |
gcode: | |
{% if printer.pause_resume.is_paused %} | |
{% set vg = printer["gcode_macro _VAR_GLOBALS"] %} | |
{% if printer.extruder.can_extrude %} | |
G91 | |
G1 E{vg.retract_length} F2100 | |
G90 | |
{% else %} | |
NOTIFY TEXT="Temperatura baja, imposible extruir" | |
{% endif %} | |
M109 S{vg.temp_extruder_pause} ; espera hasta alcanzar la temperatura previa del extrusor | |
RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1 | |
RESUME_BASE | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment