diff --git a/stereotech_config/common/homing_macros.cfg b/stereotech_config/common/homing_macros.cfg index 589f054ab81e..f4c61e57dc40 100644 --- a/stereotech_config/common/homing_macros.cfg +++ b/stereotech_config/common/homing_macros.cfg @@ -15,12 +15,15 @@ gcode: [gcode_macro MOVE_SERVICE_POSITION_HEAD] gcode: + {% set parking = params.PARKING|default(1)|int %} G54 TURN_OFF_HEATERS {% if printer["gcode_macro TOGGLE_LIGHT"] and printer["gcode_macro TOGGLE_LIGHT"].light <= 0 %} TOGGLE_LIGHT {% endif %} - G28 + {% if parking %} + G28 + {% endif %} G92 E0 G90 {% set x = printer.toolhead.axis_maximum[0] / 2 %} diff --git a/stereotech_config/common/module_3d_macros.cfg b/stereotech_config/common/module_3d_macros.cfg index b9908bfc298e..c298d474c4bf 100644 --- a/stereotech_config/common/module_3d_macros.cfg +++ b/stereotech_config/common/module_3d_macros.cfg @@ -40,4 +40,6 @@ gcode: {% set probe = params.PROBE|default(0)|int %} {% if probe < 1 %} BED_SCREWS_ADJUST + {% elif probe == 1 %} + MOVE_SERVICE_POSITION_HEAD PARKING=0 {% endif %}