File tree 1 file changed +4
-4
lines changed
macros/base/probing/overides
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 23
23
# Safety check to protect against PROBE_CALIBRATE performed outside the bed
24
24
{% if (printer[' gcode_move' ].position.x + probe_offset_x) >= max_bed_x
25
25
or (printer[' gcode_move' ].position.y + probe_offset_y) >= max_bed_y
26
- or (printer[' gcode_move' ].position.x + probe_offset_x) <= max_bed_x
27
- or (printer[' gcode_move' ].position.y + probe_offset_y) <= max_bed_y %}
26
+ or (printer[' gcode_move' ].position.x + probe_offset_x) <= min_bed_x
27
+ or (printer[' gcode_move' ].position.y + probe_offset_y) <= min_bed_y %}
28
28
{ action_raise_error(" You must perform PROBE_CALIBRATE with the probe inside the BED area, check variables min/max_bed_xy !" ) }
29
29
{% endif %}
30
30
72
72
# Safety check to protect against PROBE_ACCURACY performed outside the bed
73
73
{% if (printer[' gcode_move' ].position.x + probe_offset_x) >= max_bed_x
74
74
or (printer[' gcode_move' ].position.y + probe_offset_y) >= max_bed_y
75
- or (printer[' gcode_move' ].position.x + probe_offset_x) <= max_bed_x
76
- or (printer[' gcode_move' ].position.y + probe_offset_y) <= max_bed_y %}
75
+ or (printer[' gcode_move' ].position.x + probe_offset_x) <= min_bed_x
76
+ or (printer[' gcode_move' ].position.y + probe_offset_y) <= min_bed_y %}
77
77
{ action_raise_error(" You must perform PROBE_ACCURACY with the probe inside the BED area, check variables min/max_bed_xy !" ) }
78
78
{% endif %}
79
79
You can’t perform that action at this time.
0 commit comments