Skip to content

STEAPP-728: Added moving the printhead before calibrating module_3d to install the sensor #218

Merged
merged 2 commits into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion stereotech_config/common/homing_macros.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
2 changes: 2 additions & 0 deletions stereotech_config/common/module_3d_macros.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Loading