Skip to content

Commit

Permalink
MACRO: variable prefix added
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeKeck committed Nov 28, 2024
1 parent 4be9fc7 commit c1d46c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions macros/util.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -418,10 +418,10 @@ gcode:
{% 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 = "bed_margin_x: [%.3f, %.3f]" % (bed_margin_x[0], dual_carriage_position_max - stepper_x_position_max + idex_xoffset) %}
{% set line_5 = "variable_bed_margin_x: [%.3f, %.3f]" % (bed_margin_x[0], dual_carriage_position_max - stepper_x_position_max + idex_xoffset) %}
{% set line_6 = "_N_[gcode_macro _VAOC]" %}
{% set line_7 = "expected_camera_x_position: %.3f" % idex_xcontrolpoint %}
{% set line_8 = "expected_camera_y_position: %.3f" % idex_ycontrolpoint %}
{% set line_7 = "variable_expected_camera_x_position: %.3f" % idex_xcontrolpoint %}
{% set line_8 = "variable_expected_camera_y_position: %.3f" % idex_ycontrolpoint %}
CONSOLE_ECHO TITLE="Copy and paste to your printer.cfg" TYPE="info" MSG={'"%s_N_%s_N_%s_N_%s_N_%s_N_%s_N_%s_N_%s_N_ "' % (line_1, line_2, line_3, line_4, line_5, line_6, line_7, line_8)}

{% endif %}

0 comments on commit c1d46c3

Please sign in to comment.