Skip to content

Commit

Permalink
Fixing cut macro so it only rips on the last cut like originally inte…
Browse files Browse the repository at this point in the history
…nded
  • Loading branch information
jimmyjon711 committed Dec 20, 2024
1 parent 6e09b7d commit a6dc0d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/macros/Cut.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ description: Helper to do a single horizontal cut movement
gcode:
{% set pin_park_x_loc = params.PIN_PARK_X_LOC|float %}
{% set pin_park_y_loc = params.PIN_PARK_Y_LOC|float %}
{% set rip_length = params.RIP_LENGTH|float %}

{% set vars = printer['gcode_macro _AFC_CUT_TIP_VARS'] %}
{% set cut_move_dist = vars['cut_move_dist']|float %}
{% set cut_direction = vars['cut_direction']|default('')|lower %}
Expand All @@ -200,7 +202,6 @@ gcode:
{% set cut_slow_move_speed = vars['cut_slow_move_speed'] * 60|float %}
{% set cut_dwell_time = vars['cut_dwell_time']|float %}
{% set evacuate_speed = vars['evacuate_speed'] * 60|float %}
{% set rip_length = vars['rip_length']|float %}
{% set rip_speed = vars['rip_speed'] * 60|float %}

# Get printer bounds to make sure none of our cut moves fall outside of them
Expand Down

0 comments on commit a6dc0d4

Please sign in to comment.