Text this: Robotic machining optimization using digital twins