I didn't make the basic probe routines Jim. Qtdragons creator did that work.
I adapted Versa probe over but Jim has since worked on both.
So what I am saying is - I don't know much about them.
But looking at the code (basic probe and probe routines):
rotate_coord_system() function requires a setting 'allow_auto_skew' which doesn't seem to be settable in basic probe (versa probe has a button for it)
calibrate round boss:
Code:
def probe_cal_round_pocket(self):
self.data_side_edge_length = self.data_cal_diameter / 2
error = self.probe_xy_hole()
if error != 1: return error
# repeat but this time start from calculated center
error = self.probe_xy_hole()
if error != 1: return error
self.status_delta = self.get_new_offset('r')
return error
It takes the probe calibration diameter entry number
probes it twice and sets 'Delta' on the screen
My guess is probing a (for instance) bearing diameter and using it as a standard to test the probing accurac.
Delta can be x offset, y offset or average of x and y - depending on the buttons selected.
calibration offset entry is used to compensate? the calculation of delta.
code is here:
Code:
def get_new_offset(self, shape):
if shape == 'r':
base_x = base_y = self.data_cal_diameter
elif shape == 's':
base_x = self.data_cal_x_width
base_y = self.data_cal_y_width
else: return 0
xcal_error = abs(base_x - self.status_lx)
if base_x > self.status_lx:
newx_offset = self.data_calibration_offset - xcal_error
else:
newx_offset = self.data_calibration_offset + xcal_error
ycal_error = abs(base_y - self.status_ly)
if base_y > self.status_ly:
newy_offset = self.data_calibration_offset - ycal_error
else:
newy_offset = self.data_calibration_offset + ycal_error
new_cal_avg = (newx_offset + newy_offset) / 2
if self.cal_x_error is True: return newx_offset
elif self.cal_y_error is True: return newy_offset
else: return new_cal_avg