Skip to content

Commit

Permalink
fix for issue #3196
Browse files Browse the repository at this point in the history
  • Loading branch information
zieluch22 committed Nov 30, 2024
1 parent 5aaf39d commit 8757735
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/python/qtvcp/widgets/probe_routines.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 8757735

Please sign in to comment.