Measurement of the tool or bore