Skip to content

Commit

Permalink
STEAPP-493: fixed bug for auto calibrate SPIRAL mode, doesn't any mov…
Browse files Browse the repository at this point in the history
…e before start calibrate. (#126)
  • Loading branch information
SokolovJek authored May 22, 2023
1 parent 65c0525 commit 2fcbdfe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions stereotech_config/probe.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ gcode:
{% if wcs == 0 %}
{% if probe_sensor_version %}
; move for measuring wcs_1_z
AUTO_BASEMENT_WCS_ONE_Z_MOVE
AUTO_BASEMENT_WCS_MOVE
PROBE
G0 Z150 F3600
; set wcs_1_z, wcs_2_y(raw)
Expand All @@ -694,16 +694,16 @@ gcode:
AUTO_BASEMENT_WCS_TWO_Y_MOVE
{% else %}
; move for measuring wcs_1_z
AUTO_BASEMENT_WCS_ONE_Z_MOVE
AUTO_BASEMENT_WCS_MOVE
PROBE
{% endif %}
{% else %}
PROBE
{% endif %}
G0 Z150 F3600

[gcode_macro AUTO_BASEMENT_WCS_ONE_Z_MOVE]
description: This macro does a move for measuring wcs_1_z.
[gcode_macro AUTO_BASEMENT_WCS_MOVE]
description: This macro does a move for measuring wcs_1_z and wcs_2_y-raw or wcs_2_y and wcs_1_z-raw.
gcode:
{% set wcs = params.WCS|default(0)|int %}
{% set offsets = printer.probe.offsets %}
Expand Down
6 changes: 3 additions & 3 deletions stereotech_config/probe_2.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ gcode:
{% set probe_sensor_version = printer.save_variables.variables.probe_sensor_version|default(0)|int %}
{% if wcs == 0 %}
; move for measuring wcs_1_z
AUTO_BASEMENT_WCS_ONE_Z_MOVE
AUTO_BASEMENT_WCS_MOVE
PROBE
G0 Z150 F3600
; set wcs_1_z, wcs_2_y(raw)
Expand All @@ -445,8 +445,8 @@ gcode:
{% endif %}
G0 Z150 F3600

[gcode_macro AUTO_BASEMENT_WCS_ONE_Z_MOVE]
description: This macro does a move for measuring wcs_1_z.
[gcode_macro AUTO_BASEMENT_WCS_MOVE]
description: This macro does a move for measuring wcs_1_z and wcs_2_y-raw or wcs_2_y and wcs_1_z-raw.
gcode:
{% set wcs = params.WCS|default(0)|int %}
{% set offsets = printer.probe.offsets %}
Expand Down

0 comments on commit 2fcbdfe

Please sign in to comment.