(*** GCode generated by NativeCAM for LinuxCNC ***) (*.ngc files are best viewed with Syntax Highlighting) (visit https://forum.linuxcnc.org/forum/20-g-code/30840-new-syntax-highlighting-for-gedit) (or https://github.com/FernV/Gcode-highlight-for-Kate) G17 G40 G49 G90 G92.1 G94 G54 G64 p0.001 G20 (imperial/inches) # = -0.125 #<_pocket_expand_mode> = 0 (optimization values) #<_tool_eng1> = 0.20 #<_tool_eng2> = 0.30 #<_tool_eng3> = 0.80 #<_feedfactor1> = 1.60 #<_feedfactor2> = 1.40 #<_feedfactor3> = 1.25 #<_feedfactor4> = 1.00 #<_feedfactor0> = 1.00 #<_speedfactor1> = 1.25 #<_speedfactor2> = 1.25 #<_speedfactor3> = 1.25 #<_speedfactor4> = 1.00 #<_speedfactor0> = 1.00 #<_probe_func> = 38.4 #<_probe_feed> = 8.0 #<_probe_latch> = -0.05 #<_probe_latch_feed> = 2 #<_probe_safe> = 0.2 #<_probe_tip_dia> = 0.125 #<_probe_tool_len_comp> = 1 #<_tool_probe_z> = 0.0 #<_off_rot_coord_system> = 57 #<_mill_data_start> = 70 # = 0 #<_has_z_axis> = 1 #<_show_final_cuts> = 1 #<_show_bottom_cut> = 1 #<_spindle_all_time> = 1 #<_spindle_speed_up_delay> = 0.0 (end defaults) (next values for backward compatibility only) #<_units_radius> = 1 (factor for radius and diameter) #<_units_width> = 1 (factor for width, height, length) #<_units_cut_depth> = 1 (factor for depth) #<_tool_dynamic_dia> = 0.0 (This is a built-in safety to help avoid gouging into your work piece) / o if [#<_show_final_cuts>] / o repeat [1000] / M0 / o endrepeat / o endif (sub definitions) (end sub definitions) (begin Workpiece) (workpiece definition author : Fernand Veilleux) # = [#<_units_width> * 2] # = [#<_units_width> * 4] # = [#<_units_width> * 1] # = [#<_units_width> * 0.0] # = [#<_units_width> * 0.0] # = [# - # * 2] # = [# - # * 2] # = 0.0 # = 0.0 o CALL [31] [2] [0.0 - #] [0.0 - # / 2] [0.0] # = #31 # = [# + #] o CALL [31] [1] [0.375] [0.3125] [0.2362] [0.1285] [0.257] [0] # = #31 o if [[#<_metric> EQ 1] AND [1 NE 0]] # = [# * 25.4] o endif # = [[# / 2] / TAN[118 / 2]] (print,Drill info : diameter = #, point angle = 118 °, point length = #) o endif o if [1 AND [0 NE #5400]] M9 T0 M6 o endif o if [1 GE 1] G43 H0 o endif o if [#<_spindle_dir> GT 0] o if [0 EQ 3] o CALL [#<_drill_rpm>] F#<_drill_feed> o else o CALL [1] o endif o endif (end Tool Change) M2