Virtual machining simulator for predicting the cutting process