STEP-NC based reverse engineering of in-process model of NC simulation