On the dynamics of robotic machining