CNC automatic gem machine programming technology