Pre-process, measure workpiece before machining