Computer aided modelling of machining processes