On the numerical modelling of composite machining