Skip to content

Commit

Permalink
Update prime_line.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
tehniemer committed Sep 4, 2024
1 parent 48b2f06 commit 6987db2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions macros/helpers/prime_line.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ gcode:
{% if prime_line_direction == "X" %}
G1 X{prime_line_x + prime_line_way*prime_line_length} E{prime_line_purge_distance} F{speed}
{% if prime_line_wipe %}
G0 X{prime_line_x + prime_line_wipe_length} F{St}
G0 X{prime_line_x + prime_line_way*prime_line_wipe_length} F{St}
{% endif %}
{% elif prime_line_direction == "Y" %}
G1 Y{prime_line_y + prime_line_way*prime_line_length} E{prime_line_purge_distance} F{speed}
{% if prime_line_wipe %}
G0 Y{prime_line_y + prime_line_wipe_length} F{St}
G0 Y{prime_line_y + prime_line_way*prime_line_wipe_length} F{St}
{% endif %}
{% else %}
{ action_respond_error("Prime line direction is not valid. Choose either X or Y in the variables.cfg file!") }
Expand Down

0 comments on commit 6987db2

Please sign in to comment.