CNC formatting