Skip to content

Commit

Permalink
MACRO: fix wrong stepper naming
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeKeck committed Nov 28, 2024
1 parent 5e2c665 commit d7dda30
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions macros/util.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -410,12 +410,12 @@ gcode:
{% set idex_ycontrolpoint = svv.idex_ycontrolpoint|float %}

{% set bed_margin_x = printer["gcode_macro RatOS"].bed_margin_x %}
{% set stepper_dc_position_max = printer.configfile.settings.stepper_x.position_max|float %}
{% set stepper_dc_position_endstop = printer.configfile.settings.stepper_x.position_endstop|float %}
{% set dual_carriage_position_max = printer.configfile.settings.dual_carriage.position_max|float %}
{% set dual_carriage_position_endstop = printer.configfile.settings.dual_carriage.position_endstop|float %}

{% set line_1 = "_N_[dual_carriage]" %}
{% set line_2 = "position_max: %.3f" % (stepper_dc_position_max + idex_xoffset) %}
{% set line_3 = "position_endstop: %.3f" % (stepper_dc_position_endstop + idex_xoffset) %}
{% set line_2 = "position_max: %.3f" % (dual_carriage_position_max + idex_xoffset) %}
{% set line_3 = "position_endstop: %.3f" % (dual_carriage_position_endstop + idex_xoffset) %}
{% set line_4 = "_N_[gcode_macro RatOS]" %}
{% set line_5 = "variable_bed_margin_x: [%.3f, %.3f]" % (bed_margin_x[0], bed_margin_x[1] + idex_xoffset) %}
{% set line_6 = "_N_[gcode_macro _VAOC]" %}
Expand Down

0 comments on commit d7dda30

Please sign in to comment.