cmd G21 cmd G90 cmd G64 P0.01 cmd G17 cmd G40 cmd G49 set_precision 0.01 set_tool_diameter 3 set_move_z 3 set_base_z 0 set_cut_z_step 1 set_feed_drill 1000 set_feed_mill 2000 read_dxf gear.dxf set_cut_z -3 cut_inside hole set_cut_z -3 cut_outside 0 cmd M2 write_ngc gear.ngc