From Machinist to Robot Programmer