mirror of
https://github.com/sorted01/Filametrix.git
synced 2026-01-01 12:55:57 -05:00
Merge pull request #22 from gennro/main
This commit is contained in:
commit
e2c15f0677
1 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ gcode:
|
||||||
{% set current_loc_x = printer.gcode_move.gcode_position.x %}
|
{% set current_loc_x = printer.gcode_move.gcode_position.x %}
|
||||||
{% set current_loc_y = printer.gcode_move.gcode_position.y %}
|
{% set current_loc_y = printer.gcode_move.gcode_position.y %}
|
||||||
|
|
||||||
SET_PRESSURE_ADVANCE ADVANCE=0
|
SAVE_GCODE_STATE NAME=cut_filament_state
|
||||||
|
|
||||||
{% if ("x" not in printer.toolhead.homed_axes) or ("y" not in printer.toolhead.homed_axes) %}
|
{% if ("x" not in printer.toolhead.homed_axes) or ("y" not in printer.toolhead.homed_axes) %}
|
||||||
G28 X Y
|
G28 X Y
|
||||||
|
|
@ -86,7 +86,7 @@ gcode:
|
||||||
|
|
||||||
M400
|
M400
|
||||||
M117 Filament cut!
|
M117 Filament cut!
|
||||||
RESTORE_GCODE_STATE NAME=MMU_state MOVE=1 MOVE_SPEED={travel_spd} #restores MMU state to bring the toolhead back over the purge block after a cut so no oozing.
|
RESTORE_GCODE_STATE NAME=cut_filament_state MOVE=1 MOVE_SPEED={travel_spd}
|
||||||
|
|
||||||
[gcode_macro _MOVE_TO_CUTTER_PIN]
|
[gcode_macro _MOVE_TO_CUTTER_PIN]
|
||||||
description: helper to move the toolhead to the target pin in either safe or faster way, depending on toolhead clearance.
|
description: helper to move the toolhead to the target pin in either safe or faster way, depending on toolhead clearance.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue