From 875773586b27693ec04bd583284b751f1c5215ac Mon Sep 17 00:00:00 2001 From: zieluch22 Date: Sat, 30 Nov 2024 18:27:48 +0100 Subject: [PATCH] fix for issue #3196 --- lib/python/qtvcp/widgets/probe_routines.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/python/qtvcp/widgets/probe_routines.py b/lib/python/qtvcp/widgets/probe_routines.py index 26749684214..e48c25de9ad 100644 --- a/lib/python/qtvcp/widgets/probe_routines.py +++ b/lib/python/qtvcp/widgets/probe_routines.py @@ -1086,7 +1086,7 @@ def probe_outside_xy_boss(self): return 'Probe outside_xy_boss: Z clearance up failed: {}'.format(rtn) # move X+ (2 edge_length + latch return + xy_clearance) - aa = (2 * self.data_side_edge_length) + self.data_latch_return_dist + self.data_xy_clearance + aa = 2 * (self.data_side_edge_length + self.data_latch_return_dist + self.data_xy_clearance) s = """G91 G1 F%s X%f G90""" % (self.data_rapid_vel, aa) @@ -1151,7 +1151,7 @@ def probe_outside_xy_boss(self): return 'Probe outside_xy_boss: Z clearance up failed: {}'.format(rtn) # move Y+ (2 * edge_length) + latch return + xy_clearance) - aa = (2 * self.data_side_edge_length) + self.data_latch_return_dist + self.data_xy_clearance + aa = 2 * (self.data_side_edge_length + self.data_latch_return_dist + self.data_xy_clearance) s = """G91 G1 F%s Y%f G90""" % (self.data_rapid_vel, aa)