An investigation of the transition from a continuous to a discontinuous chip in orthogonal machining