Skip to content

Commit

Permalink
MACRO: unused _MOVE_TO_PARKING_POSITION macro removed
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeKeck committed Dec 18, 2024
1 parent 2c8362d commit ce8559a
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions macros/load_filament.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -358,34 +358,6 @@ gcode:
{% endif %}


[gcode_macro _MOVE_TO_PARKING_POSITION]
gcode:
# parameter
{% set toolhead = params.TOOLHEAD|int %}

DEBUG_ECHO PREFIX="_MOVE_TO_PARKING_POSITION" MSG="TOOLHEAD: {toolhead}"

{% if printer["dual_carriage"] is defined or printer["rmmu_hub"] is defined %}
{% if "xyz" in printer.toolhead.homed_axes %}
{% if printer["gcode_macro T%s" % toolhead].has_oozeguard|default(false)|lower == 'true' %}
{% if printer["gcode_macro T%s" % toolhead].parking_position is defined %}

# config
{% set parking_position = printer["gcode_macro T%s" % toolhead].parking_position|float %}
{% set speed = printer["gcode_macro RatOS"].toolchange_travel_speed|float * 60 %}

# move to parking position
G1 X{parking_position} F{speed}

# wait for moves to finish
M400

{% endif %}
{% endif %}
{% endif %}
{% endif %}


[gcode_macro _MOVE_TO_LOADING_POSITION]
gcode:
# parameter
Expand Down

0 comments on commit ce8559a

Please sign in to comment.