KMCNC units
Posted: Thu Jul 25, 2019 8:22 pm
When getting the position values from KMCNC in my probing program (which uses the key parts of MeasureFiducials), what units are the DROs in?
Are they always in inch?
I'm just looking at tidying up my Probing program (I finally got enough tool holders to get my mill set up for probing, hence the fresh enthusiasm to get my probing program useable!), and one of the things I've kludged is handling units. Everything I've done so far has just relied on using inches, with various hardcoded conversions from mm (i.e. I have a 2mm probe tip, and a 20mm ID bearing for calibration) where needed for testing, but now I'm trying to get probing to be more unit-less, I've realised that switching KMCNC to mm still results in my probing DROs showing inches..
I'm guessing I need to code things to convert the DROs when in mm (or at least use the functionality from MeasureFiducials that I've been ignoring!)
Are they always in inch?
I'm just looking at tidying up my Probing program (I finally got enough tool holders to get my mill set up for probing, hence the fresh enthusiasm to get my probing program useable!), and one of the things I've kludged is handling units. Everything I've done so far has just relied on using inches, with various hardcoded conversions from mm (i.e. I have a 2mm probe tip, and a 20mm ID bearing for calibration) where needed for testing, but now I'm trying to get probing to be more unit-less, I've realised that switching KMCNC to mm still results in my probing DROs showing inches..
I'm guessing I need to code things to convert the DROs when in mm (or at least use the functionality from MeasureFiducials that I've been ignoring!)