From e2e26171ecaa8b29c350c1cb8b34b6fa7c6ab8d4 Mon Sep 17 00:00:00 2001 From: Norbert Schechner Date: Sat, 27 Dec 2014 17:11:02 +0100 Subject: [PATCH] gmoccapy_1_3_5_1 - updated to current version A lot of changes , please see release_notes.txt for all details hal_gremlin.py has been changed to send a signal if bad gcode is found. and gmoccapy does not react to that signal. Signed-off-by: Norbert Schechner --- lib/python/gladevcp/hal_gremlin.py | 11 +- src/emc/usr_intf/gmoccapy/gmoccapy.glade | 1888 ++++++------------- src/emc/usr_intf/gmoccapy/gmoccapy.py | 22 +- src/emc/usr_intf/gmoccapy/release_notes.txt | 23 + 4 files changed, 615 insertions(+), 1329 deletions(-) diff --git a/lib/python/gladevcp/hal_gremlin.py b/lib/python/gladevcp/hal_gremlin.py index 012807cff84..f1f4fe9e0ba 100644 --- a/lib/python/gladevcp/hal_gremlin.py +++ b/lib/python/gladevcp/hal_gremlin.py @@ -37,8 +37,10 @@ class HAL_Gremlin(gremlin.Gremlin, _EMC_ActionBase): __gtype_name__ = "HAL_Gremlin" __gsignals__ = { - 'line-clicked': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, (gobject.TYPE_INT,)) + 'line-clicked': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, (gobject.TYPE_INT,)), + 'gcode_error': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, (gobject.TYPE_STRING,)), } + __gproperties__ = { 'view' : ( gobject.TYPE_STRING, 'View type', 'Default view: p, x, y, y2, z, z2', 'p', gobject.PARAM_READWRITE | gobject.PARAM_CONSTRUCT), @@ -243,8 +245,9 @@ def realize(self, widget): def _load(self, filename): return self.load(filename) - # TODO fix this so it doesn't print twice and it should probably pop up a dialog def report_gcode_error(self, result, seq, filename): error_str = gcode.strerror(result) - print("G-Code error in " + os.path.basename(filename) + "\n" + "Near line " - + str(seq) + " of\n" + filename + "\n" + error_str + "\n") + errortext = "G-Code error in " + os.path.basename(filename) + "\n" + "Near line " \ + + str(seq) + " of\n" + filename + "\n" + error_str + "\n" + print(errortext) + self.emit("gcode-error", errortext) diff --git a/src/emc/usr_intf/gmoccapy/gmoccapy.glade b/src/emc/usr_intf/gmoccapy/gmoccapy.glade index da521a2686d..7582f67aeaf 100644 --- a/src/emc/usr_intf/gmoccapy/gmoccapy.glade +++ b/src/emc/usr_intf/gmoccapy/gmoccapy.glade @@ -1,157 +1,155 @@ - + - + - - - 100 10 + 100 1 + 28 20 56 - 28 1 - + - 200 100 + 200 1 - + 100 0.10000000000000001 + 750 750 2000 - 750 1 - + - 10500 1500 + 10500 50 - + + 10 1 25 - 10 1 - + - 8500 1800 + 8500 100 - + - 100 32.429000000000002 + 100 0.001 + 1 0.10000000000000001 10 - 1 0.10000000000000001 - + + 1 0.10000000000000001 1000 - 1 0.10000000000000001 - + + 1 0.10000000000000001 1000 - 1 0.10000000000000001 - + + 1 0.10000000000000001 10 - 1 0.10000000000000001 - + - 10000 100 + 10000 1 - 150 100 + 150 1 - + - 100000 6000 + 100000 50 - + 10000 50 - + + 300 50 10000 - 300 25 - + + 979 979 1280 - 979 1 - + + 200 100 1280 - 200 1 - + - 1024 40 + 1024 1 - + - 2000 30 + 2000 1 - + - 768 30 + 768 1 - + - 2000 55 + 2000 1 - + @@ -165,288 +163,237 @@ gcode_view - - - - - - - - - - - - - - + + + + + + + + + + + + + + True - False images/auto_mode.png True - False edit-undo True - False edit-undo True - False edit-undo True - False edit-undo True - False 3 edit-undo True - False images/stop.png True - False images/exit_application.png True - False images/exit_application.png True - False images/coolant_off.png True - False images/coolant_on.gif True - False go-up True - False images/editor.png 48 48 True - False images/E-Stop.gif 48 48 True - False images/forward.png 48 48 True - False images/forward_on.gif True - False images/fullscreen_preview.png True - False images/fullscreen_preview.png True - False images/refall.png True - False gtk-home True - False images/refb.png True - False images/refc.png True - False images/refu.png True - False images/refv.png True - False images/refw.png True - False gtk-jump-to True - False images/machine_on.png True - False images/manual_mode.png True - False images/mdi_mode.png True - False images/mist_off.png True - False images/mist_on.gif True - False gtk-open True - False images/refall.png 48 48 True - False images/reverse_on.gif True - False images/start.png True False - False images/runfrom.png True - False gtk-go-forward True - False gtk-go-back True - False gtk-ok 48 48 True - False images/stop_on.gif True - False images/step.png True - False images/stop.png 48 48 True - False images/stop.gif True - False images/toolchange.png True - False images/toolchange.png True - False images/touchoffwz.png True - False images/touchoffwz.png True - False images/unhome.png True - False images/user_tabs.png True - False images/zoom-in.png True - False images/zoom-out.png @@ -500,30 +447,25 @@ 979 750 - False gmoccapy images/Logo.png - - + + True - False True - False True - False False - True 0 @@ -532,56 +474,47 @@ True True False - + True - False True - False True - False True - False False True True - False True - False True - False False - False False + False False - - + + + - True - True 0 True - False 13 5 @@ -592,12 +525,10 @@ True True clear plot - False - + True - False images/clear.png @@ -617,9 +548,8 @@ True True Zoom in - False img_zoom_in - + 8 @@ -636,9 +566,8 @@ True True Zoom out - False img_zoom_out - + 9 @@ -655,14 +584,12 @@ True False view perspective - False True False - + True - False images/toolaxisp.png @@ -680,14 +607,12 @@ True False view along the X axis from positive to negative - False False rbt_view_p - + True - False images/toolaxisx.png @@ -707,14 +632,12 @@ True False view along the Y axis from positive to negative - False False rbt_view_p - + True - False images/toolaxisy.png @@ -734,16 +657,14 @@ True False view along the Z axis from positive to negative - False False rbt_view_p - + 48 48 True - False images/toolaxisz.png @@ -763,12 +684,10 @@ True True Show or hide tool path - False - + True - False images/toolpath.png @@ -788,12 +707,10 @@ True True Show or hide dimensions - False - + True - False images/dimensions.png @@ -813,16 +730,14 @@ True False view along the Y axis from positive to negative as viewn for a back tool lathe - False False rbt_view_p - + 48 48 True - False images/toolaxisy2.png @@ -846,7 +761,6 @@ False - True 1 @@ -855,7 +769,6 @@ True - False Preview @@ -865,10 +778,9 @@ True - False - #ffff00000000 #adadd8d8e6e6 - + #ffff00000000 + 1 @@ -877,7 +789,6 @@ True - False Offset Page @@ -888,7 +799,6 @@ True - False 2 @@ -897,7 +807,6 @@ True - False Tooledit @@ -908,10 +817,9 @@ True - False ngc,py,bmp - - + + 3 @@ -920,7 +828,6 @@ True - False File Selection @@ -930,16 +837,12 @@ - True - True 2 0 - True - True 0 @@ -947,16 +850,13 @@ 360 True - False True - False 1 True - False 3 @@ -967,8 +867,7 @@ True True Toggle between metric and imperial units - False - + 2 @@ -986,8 +885,7 @@ True True Switch DRO to DTG mode - False - + 1 @@ -1005,9 +903,8 @@ True True Toggle between machine and relative coordinates - False True - + GTK_SHRINK @@ -1024,128 +921,106 @@ True - False 1 True - False Klick to toggle through the DRO modes + 28 + #ffff00000000 #00000000ffff #ffffffff0000 - 28 - #0000ffff0000 #000000000000 - #ffff00000000 - - - + #0000ffff0000 + + + - True - True 0 True - False Klick to toggle through the DRO modes - #00000000ffff - #ffffffff0000 28 - #0000ffff0000 + #ffff00000000 1 + #00000000ffff + #ffffffff0000 #000000000000 - #ffff00000000 - + #0000ffff0000 + - True - True 1 True - False Klick to toggle through the DRO modes - #00000000ffff - #ffffffff0000 28 - #0000ffff0000 + #ffff00000000 2 + #00000000ffff + #ffffffff0000 #000000000000 - #ffff00000000 - + #0000ffff0000 + - True - True 2 True - False Klick to toggle through the DRO modes - #00000000ffff - #ffffffff0000 28 - #0000ffff0000 + #ffff00000000 3 + #00000000ffff + #ffffffff0000 #000000000000 - #ffff00000000 - + #0000ffff0000 + - True - True 3 - True - True end 1 - True - True 0 True - False False True - False 50 True - False 85 True - False Jog. Vel. False - True 0 @@ -1157,92 +1032,29 @@ 0 - True - True 1 False - True 0 True - False - - - 120 - True - False - 0.5 - - - True - False - 5 - 5 - 5 - 5 - - - 50 - True - False - 3 - - - - - - - - - - - - - - - - - - - - - - True - False - <b>Jog Rates</b> - True - - - - - False - True - 2 - end - 0 - - 240 True - False True - False 0.5 True - False 5 5 5 @@ -1250,7 +1062,6 @@ True - False 5 3 4 @@ -1265,9 +1076,8 @@ True True True - False - - + + 1 @@ -1284,9 +1094,8 @@ True True True - False - - + + 1 @@ -1305,9 +1114,8 @@ True True True - False - - + + 1 @@ -1324,9 +1132,8 @@ True True True - False - - + + 2 @@ -1345,9 +1152,8 @@ True True True - False - - + + 3 @@ -1363,9 +1169,8 @@ 50 True True - False - - + + 2 @@ -1382,9 +1187,8 @@ True True True - False - - + + 3 @@ -1402,10 +1206,9 @@ 50 True True - False 0.47999998927116394 - - + + 2 @@ -1435,29 +1238,73 @@ True - False <b>Jogging</b> True - True - True 0 - True - True 1 + + + 120 + True + 0.5 + + + True + 5 + 5 + 5 + 5 + + + 50 + True + 3 + + + + + + + + + + + + + + + + + + + + + + True + <b>Jog Rates</b> + True + + + + + False + 2 + end + 0 + + - True - True 1 @@ -1467,9 +1314,8 @@ True True False - False True - + False @@ -1479,12 +1325,9 @@ - True - True 3 @@ -1493,7 +1336,6 @@ True - False Manuell @@ -1503,7 +1345,6 @@ True - False @@ -1515,7 +1356,6 @@ True - False MDI @@ -1552,7 +1392,6 @@ True - False Auto @@ -1562,8 +1401,6 @@ - True - True 2 1 @@ -1571,14 +1408,11 @@ False - True 1 - True - True 0 @@ -1586,32 +1420,27 @@ 200 True - False True True False - + 200 True - False True - False True - False Information over the tool in spindle 0.5 True - False 5 5 5 @@ -1619,14 +1448,12 @@ True - False 3 4 True True - False Tool no. 8 @@ -1637,7 +1464,6 @@ True - False 0 center 8 @@ -1654,7 +1480,6 @@ True - False Diameter 8 @@ -1666,7 +1491,6 @@ True - False 0 center 8 @@ -1685,7 +1509,6 @@ True - False offset z 8 @@ -1697,7 +1520,6 @@ True - False 0 center 8 @@ -1716,7 +1538,6 @@ True - False offset x 8 @@ -1728,7 +1549,6 @@ True - False 0 center 8 @@ -1747,7 +1567,6 @@ True - False No tool description available @@ -1767,67 +1586,23 @@ True - False <b>Tool information</b> True - True - True 0 - - - True - False - The name and location of the loaded program - 0.5 - - - True - False - 5 - 5 - 5 - 5 - - - True - False - No Program loaded - - - - - - - True - False - <b>Program</b> - True - - - - - True - True - end - 1 - - True - False G and M code information as well as speed and feed 0.5 True - False 5 5 5 @@ -1835,15 +1610,12 @@ True - False True - False True - False 0 active_mcodes_label @@ -1852,15 +1624,12 @@ - True - True 0 True - False 1 F @@ -1869,8 +1638,6 @@ - True - True 1 @@ -1878,7 +1645,6 @@ 50 True - False 1 10000 @@ -1888,25 +1654,20 @@ False - True 2 - True - True 0 True - False True - False 0 active_gcodes_label @@ -1915,15 +1676,12 @@ - True - True 0 True - False 1 3 S @@ -1933,8 +1691,6 @@ - True - True 1 @@ -1942,7 +1698,6 @@ 50 True - False 1 3 10000 @@ -1953,14 +1708,11 @@ False - True 2 - True - True 1 @@ -1971,44 +1723,271 @@ True - False <b>G-Code</b> True - True - True end 2 + + + True + The name and location of the loaded program + 0.5 + + + True + 5 + 5 + 5 + 5 + + + True + No Program loaded + + + + + + + True + <b>Program</b> + True + + + + + end + 1 + + - True - True 0 + + + + + + + + False + 2 + + + + + 175 + True + + + True + 0.5 + + + True + 5 + 5 + 5 + 5 + + + True + + + True + + + True + Vel. + + + + + + + + 0 + + + + + True + Displays the current velocity + 5 + 5 + 10000 + center + + + + + + + + 1 + + + + + 0 + + + + + True + True + adjust max vel of machine + adj_max_vel + True + 0 + + + 1 + + + + + + + + + True + <b>Max. Velocity</b> + True + + + + + end + 1 + + + + + 200 + True + 0.5 + + + True + 5 + 5 + 5 + 5 + + + True + + + True + + + True + Displayes the programmed feed rate + F 275 + + + + + + + 0 + + + + + 100% + 48 + 48 + True + True + True + reset feed override to 100 % + + + + False + False + 1 + + + + + 0 + + + + + True + True + adjust feed override + adj_feed + on + on + True + False + 0 + + + 1 + + + + + + + + + True + <b>Feed Override [%]</b> + True + + + + + end + 0 + + + + + False + 3 + + + + + + + + + + False + 4 + + True - False True - False 100 True - False 0.5 True - False 0 0 5 @@ -2018,7 +1997,6 @@ True - False 2 True @@ -2028,9 +2006,8 @@ True True True - False img_coolant_off - + GTK_SHRINK @@ -2045,9 +2022,8 @@ True True True - False img_mist_off - + 1 @@ -2064,7 +2040,6 @@ True - False <b>Cooling</b> True @@ -2078,38 +2053,31 @@ - True - True 0 - False False - True 1 True - False 200 True - False 0.5 True - False 5 5 5 @@ -2117,28 +2085,22 @@ True - False True - False True - False True - False S 3500 - + - True - True 0 @@ -2150,8 +2112,7 @@ True True True - False - + False @@ -2161,7 +2122,6 @@ - True False 0 @@ -2174,7 +2134,6 @@ 0 - True False 1 @@ -2189,12 +2148,10 @@ True - False 2 True - False 3 8 True @@ -2205,16 +2162,14 @@ True True False - False False rbt_stop - + 48 48 True - False images/reverse.png @@ -2231,16 +2186,14 @@ True True False - False False rbt_stop - + 48 48 True - False images/forward.png @@ -2259,16 +2212,14 @@ True True False - False True False - + 48 48 True - False images/stop.gif @@ -2282,7 +2233,6 @@ - True False 5 0 @@ -2291,34 +2241,28 @@ True - False True - False #bebebebebebe 6000 + #0000ffff0000 + 0.80000001192092896 + #0000ffff0000 #0000ffff0000 - -0.039999999105930328 - %i 0.40000000596046448 + -0.039999999105930328 #0000ffff0000 - 0.80000001192092896 - #0000ffff0000 - #0000ffff0000 + %i - True - True 0 True - False 0 - green False @@ -2329,7 +2273,6 @@ - True False 2 1 @@ -2337,8 +2280,6 @@ - True - True 1 @@ -2349,7 +2290,6 @@ True - False <b>Spindle [rpm]</b> True @@ -2357,28 +2297,23 @@ False - True end 0 - True - True 2 - False False - True 3 @@ -2390,253 +2325,11 @@ 1 - - - False - - - - - - False - True - 2 - - - - - 175 - True - False - - - 200 - True - False - 0.5 - - - True - False - 5 - 5 - 5 - 5 - - - True - False - - - True - False - - - True - False - Displayes the programmed feed rate - F 275 - - - - - - - True - True - 0 - - - - - 100% - 48 - 48 - True - True - True - reset feed override to 100 % - False - - - - False - False - 1 - - - - - True - True - 0 - - - - - True - True - adjust feed override - adj_feed - on - on - True - False - 0 - - - True - True - 1 - - - - - - - - - True - False - <b>Feed Override [%]</b> - True - - - - - True - True - end - 0 - - - - - True - False - 0.5 - - - True - False - 5 - 5 - 5 - 5 - - - True - False - - - True - False - - - True - False - Vel. - - - - - - - - True - True - 0 - - - - - True - False - Displays the current velocity - 5 - 5 - 10000 - center - - - - - - - - True - True - 1 - - - - - True - True - 0 - - - - - True - True - adjust max vel of machine - adj_max_vel - True - 0 - - - True - True - 1 - - - - - - - - - True - False - <b>Max. Velocity</b> - True - - - - - True - True - end - 1 - - - - - False - True - 3 - - - - - False - - - - - - False - True - 4 - - True - False Info @@ -2646,7 +2339,6 @@ True - False @@ -2658,7 +2350,6 @@ True - False Embeded keyboard @@ -2668,15 +2359,12 @@ - True - True 0 50 - False 16 @@ -2685,8 +2373,7 @@ True False False - False - + GTK_SHRINK @@ -2701,8 +2388,7 @@ True False False - False - + 2 @@ -2719,8 +2405,7 @@ True False False - False - + 10 @@ -2736,8 +2421,7 @@ True False False - False - + 15 @@ -2749,7 +2433,6 @@ True - False 1 @@ -2759,7 +2442,6 @@ True - False 6 @@ -2769,7 +2451,6 @@ True - False Replace Text: @@ -2785,7 +2466,6 @@ True False False - False True @@ -2800,7 +2480,6 @@ True False False - False True True @@ -2812,7 +2491,6 @@ True - False 9 @@ -2825,8 +2503,7 @@ True False False - False - + 13 @@ -2838,7 +2515,6 @@ True - False Search Text: @@ -2850,7 +2526,6 @@ True - False 3 @@ -2860,7 +2535,6 @@ True - False 14 @@ -2871,9 +2545,7 @@ True True - - False - False + True True @@ -2886,9 +2558,7 @@ True True - - False - False + True True @@ -2900,14 +2570,12 @@ False - True 1 False - True 1 @@ -2916,7 +2584,6 @@ True - False Main @@ -2941,7 +2608,6 @@ True - False Debug @@ -2960,20 +2626,16 @@ True - False True - False True - False 0.5 True - False 5 5 3 @@ -2981,21 +2643,18 @@ True - False Start as fullscreen True True False - False True True - + False - True 0 @@ -3005,14 +2664,12 @@ True True False - False True rbtn_fullscreen - + False - True 1 @@ -3022,27 +2679,23 @@ True True False - False True rbtn_fullscreen - + False - True 2 True - False 4 2 True - False 0 5 5 @@ -3056,7 +2709,6 @@ True - False 0 5 5 @@ -3072,7 +2724,6 @@ True - False 0 5 5 @@ -3088,7 +2739,6 @@ True - False 0 5 5 @@ -3106,10 +2756,8 @@ True False True - + 1 - False - False True True adj_x_pos @@ -3127,10 +2775,8 @@ True False True - + 1 - False - False True True adj_y_pos @@ -3150,10 +2796,8 @@ True False True - + 1 - False - False True True adj_width @@ -3173,10 +2817,8 @@ True False True - + 1 - False - False True True adj_height @@ -3193,8 +2835,6 @@ - True - True 3 @@ -3204,13 +2844,10 @@ True True False - False True - + - True - True 10 4 @@ -3222,7 +2859,6 @@ True - False <b>Main Window</b> True @@ -3237,12 +2873,10 @@ True - False 0.5 True - False 5 5 3 @@ -3250,21 +2884,17 @@ True - False Show keyboard on offset True True False - False True True - + - True - True 0 @@ -3274,14 +2904,11 @@ True True False - False True True - + - True - True 1 @@ -3291,14 +2918,11 @@ True True False - False True True - + - True - True 2 @@ -3308,14 +2932,11 @@ True True False - False True True - + - True - True 3 @@ -3325,13 +2946,10 @@ True True False - False True - + - True - True 4 @@ -3342,7 +2960,6 @@ True - False <b>Keyboard</b> True @@ -3358,12 +2975,10 @@ True - False 0.5 True - False 5 5 3 @@ -3371,21 +2986,17 @@ True - False show preview True True False - False True True - + - True - True 0 @@ -3395,13 +3006,10 @@ True True False - False True rbtn_show_preview - True - True 1 @@ -3412,7 +3020,6 @@ True - False <b>On Touch off</b> True @@ -3428,12 +3035,10 @@ True - False 0.5 True - False 5 5 3 @@ -3441,17 +3046,13 @@ True - False True - False 0 Grid size - True - True 0 @@ -3459,19 +3060,15 @@ True True - + 1 - False - False True True adj_grid_size 3 - + - True - True 1 @@ -3482,7 +3079,6 @@ True - False <b>Preview</b> True @@ -3503,8 +3099,7 @@ Aux Screen True True True - False - + False @@ -3523,16 +3118,13 @@ Aux Screen True - False True - False 0.5 True - False 5 5 3 @@ -3540,14 +3132,12 @@ Aux Screen True - False 9 2 3 True - False 0 Relative Color @@ -3562,9 +3152,8 @@ Aux Screen True True True - False #000000000000 - + 1 @@ -3576,7 +3165,6 @@ Aux Screen True - False 0 Absolute Color @@ -3593,9 +3181,8 @@ Aux Screen True True True - False #00000000ffff - + 1 @@ -3609,7 +3196,6 @@ Aux Screen True - False 0 DTG Color @@ -3626,9 +3212,8 @@ Aux Screen True True True - False #ffffffff0000 - + 1 @@ -3645,11 +3230,10 @@ Aux Screen True True False - False 1 True True - + 2 @@ -3666,10 +3250,9 @@ Aux Screen True True False - False 1 True - + 2 @@ -3683,7 +3266,6 @@ Aux Screen True - False 2 @@ -3694,7 +3276,6 @@ Aux Screen True - False 0 Homed color @@ -3709,7 +3290,6 @@ Aux Screen True - False 0 Unhomed color @@ -3726,9 +3306,8 @@ Aux Screen True True True - False #0000ffff0000 - + 1 @@ -3744,9 +3323,8 @@ Aux Screen True True True - False #ffff00000000 - + 1 @@ -3760,11 +3338,9 @@ Aux Screen True - False True - False 0 5 5 @@ -3772,7 +3348,6 @@ Aux Screen False - True 3 0 @@ -3781,10 +3356,8 @@ Aux Screen True True - + 1 - False - False True True adj_dro_size @@ -3792,8 +3365,6 @@ Aux Screen True - True - True 1 @@ -3811,7 +3382,6 @@ Aux Screen True - False <b>DRO</b> True @@ -3826,12 +3396,10 @@ Aux Screen True - False 0.5 True - False 5 5 5 @@ -3839,20 +3407,17 @@ Aux Screen True - False Show offsets True True False - False True - + False - True 0 @@ -3862,13 +3427,11 @@ Aux Screen True True False - False True - + False - True 1 @@ -3878,32 +3441,27 @@ Aux Screen True True False - False 1 True - + False - True 2 True - False False - True 3 True - False <b>Mouse Button mode</b> True @@ -3916,20 +3474,9 @@ Aux Screen True - False lst_button_mode - 4 1 - - - - False - False - False - True - True - - + False @@ -3944,7 +3491,6 @@ Aux Screen True - False <b>Preview</b> True @@ -3967,16 +3513,13 @@ Aux Screen True - False True - False 0.5 True - False 5 5 3 @@ -3984,13 +3527,11 @@ Aux Screen True - False True - False ff_file_to_load - + False @@ -4001,7 +3542,6 @@ Aux Screen True - False current @@ -4011,8 +3551,7 @@ Aux Screen False True True - False - + False @@ -4027,8 +3566,7 @@ Aux Screen True True True - False - + False @@ -4052,7 +3590,6 @@ Aux Screen True - False <b>File to load on start</b> True @@ -4067,12 +3604,10 @@ Aux Screen True - False 0.5 True - False 5 5 3 @@ -4080,10 +3615,9 @@ Aux Screen True - False select-folder Select user dir - + @@ -4091,7 +3625,6 @@ Aux Screen True - False <b>Select jump to dir</b> True @@ -4107,12 +3640,10 @@ Aux Screen True - False 0.5 True - False 5 5 3 @@ -4120,13 +3651,11 @@ Aux Screen True - False 4 2 True - False Themes @@ -4138,9 +3667,8 @@ Aux Screen True - False lstst_themes - + @@ -4159,7 +3687,6 @@ Aux Screen True - False 0 Warning Audio @@ -4173,7 +3700,6 @@ Aux Screen True - False 0 Alert Audio @@ -4187,8 +3713,7 @@ Aux Screen True - False - + 1 @@ -4202,8 +3727,7 @@ Aux Screen True - False - + 1 @@ -4221,7 +3745,6 @@ Aux Screen True - False <b>Themes and sound</b> True @@ -4237,18 +3760,14 @@ Aux Screen True - False - True - True 3 False - True 3 2 @@ -4258,7 +3777,6 @@ Aux Screen True - False Apearance @@ -4268,20 +3786,16 @@ Aux Screen True - False True - False True - False 0.5 True - False 5 5 3 @@ -4289,14 +3803,12 @@ Aux Screen True - False You can select a scale for the MPG to be applied, as default a value of (MAX - MIN) / 100 will be used 4 2 True - False 0 5 5 @@ -4310,7 +3822,6 @@ Aux Screen True - False 0 5 5 @@ -4326,7 +3837,6 @@ Aux Screen True - False 0 5 5 @@ -4342,7 +3852,6 @@ Aux Screen True - False 0 5 5 @@ -4359,10 +3868,8 @@ Aux Screen True True - + 1 - False - False True True adj_scale_max_vel @@ -4379,10 +3886,8 @@ Aux Screen True True - + 1 - False - False True True adj_scale_jog_vel @@ -4401,10 +3906,8 @@ Aux Screen True True - + 1 - False - False True True adj_scale_feed_override @@ -4423,10 +3926,8 @@ Aux Screen True True - + 1 - False - False True True adj_scale_spindle_override @@ -4448,7 +3949,6 @@ Aux Screen True - False <b>Hardware MPG Scale</b> True @@ -4463,12 +3963,10 @@ Aux Screen True - False 0.5 True - False 5 5 3 @@ -4480,9 +3978,8 @@ Aux Screen True False Do you want to use keyboard shortcuts to control the machine? - False True - + @@ -4490,7 +3987,6 @@ Aux Screen True - False <b>Keyboard shortcuts</b> True @@ -4505,13 +4001,11 @@ Aux Screen True - False Select the way to unlock the settings page 0.5 True - False 5 5 3 @@ -4519,17 +4013,15 @@ Aux Screen True - False Use unlock code True True False - False True True - + False @@ -4543,10 +4035,9 @@ Aux Screen True True False - False True rbt_use_unlock - + False @@ -4560,10 +4051,9 @@ Aux Screen True True False - False True rbt_use_unlock - + False @@ -4578,7 +4068,6 @@ Aux Screen True - False <b>Unlock settings</b> True @@ -4594,12 +4083,10 @@ Aux Screen True - False 0.5 True - False 5 5 3 @@ -4607,13 +4094,11 @@ Aux Screen True - False 3 2 True - False 0 Starting RPM @@ -4628,12 +4113,10 @@ Aux Screen True True Select the speed to start the spindle with, when no spindle speed has been given. - + True 1 etched-in - False - False True True adj_start_spindle_RPM @@ -4652,12 +4135,10 @@ Aux Screen True True Set the Min limit of the spindle feedback bar, this settings will not afect the INI values. - + True 1 etched-in - False - False True True adj_spindle_bar_min @@ -4678,12 +4159,10 @@ Aux Screen True True Set the Max limit of the spindle feedback bar, this settings will not afect the INI values. - + True 1 etched-in - False - False True True adj_spindle_bar_max @@ -4702,7 +4181,6 @@ Aux Screen True - False 0 Spindle bar min @@ -4717,7 +4195,6 @@ Aux Screen True - False 0 Spindle bar max @@ -4736,7 +4213,6 @@ Aux Screen True - False <b>Spindle</b> True @@ -4744,7 +4220,6 @@ Aux Screen False - True 3 @@ -4762,7 +4237,6 @@ Aux Screen - True False 0 @@ -4770,11 +4244,8 @@ Aux Screen True - False - True - True 1 @@ -4786,7 +4257,6 @@ Aux Screen True - False Hardware @@ -4797,24 +4267,19 @@ Aux Screen True - False True - False True - False True - False 0.5 True - False 5 5 3 @@ -4822,16 +4287,14 @@ Aux Screen True - False Use auto tool measurement True True False - False True - + False @@ -4843,12 +4306,10 @@ Aux Screen True False - False 0.5 True - False 5 5 3 @@ -4856,13 +4317,11 @@ Aux Screen True - False 5 2 True - False 0 X Pos. @@ -4874,7 +4333,6 @@ Aux Screen True - False 0 Y Pos. @@ -4888,7 +4346,6 @@ Aux Screen True - False 0 Probe Height @@ -4903,15 +4360,13 @@ Aux Screen True True - + 1 - False - False True True adj_probe_height 3 - + 1 @@ -4926,7 +4381,6 @@ Aux Screen True - False 1 0.000 @@ -4940,7 +4394,6 @@ Aux Screen True - False 1 0.000 @@ -4957,7 +4410,6 @@ Aux Screen True - False 0 Z Pos. @@ -4971,7 +4423,6 @@ Aux Screen True - False 1 0.000 @@ -4988,7 +4439,6 @@ Aux Screen True - False 0 Max. Probe @@ -5002,7 +4452,6 @@ Aux Screen True - False 1 0.000 @@ -5023,7 +4472,6 @@ Aux Screen True - False <b>Probe Informations</b> True @@ -5039,12 +4487,10 @@ Aux Screen True False - False 0.5 True - False 5 5 3 @@ -5052,13 +4498,11 @@ Aux Screen True - False 2 2 True - False 0 Search Vel. @@ -5070,7 +4514,6 @@ Aux Screen True - False 0 Probe Vel. @@ -5085,14 +4528,12 @@ Aux Screen True True - + 1 - False - False True True adj_search_vel - + 1 @@ -5106,14 +4547,12 @@ Aux Screen True True - + 1 - False - False True True adf_probe_vel - + 1 @@ -5132,7 +4571,6 @@ Aux Screen True - False <b>Probe velocitys</b> True @@ -5147,7 +4585,6 @@ Aux Screen True - False No valid configuration found in your INI file, please take a look at @@ -5168,7 +4605,6 @@ to configure the settings. True - False <b>Tool Measurement</b> True @@ -5183,12 +4619,10 @@ to configure the settings. True - False 0.5 True - False 5 5 3 @@ -5196,11 +4630,9 @@ to configure the settings. True - False True - False 0 If the 4'th axis is used for a tool changer, you @@ -5208,7 +4640,6 @@ hide the DRO and jog buttons. - True False 0 @@ -5219,12 +4650,10 @@ jog buttons. True True False - False True - + - True False 10 1 @@ -5237,7 +4666,6 @@ jog buttons. True - False <b>Tool Changer</b> True @@ -5253,23 +4681,19 @@ jog buttons. False - True 0 True - False True - False 0.5 True - False 5 5 5 @@ -5277,7 +4701,6 @@ jog buttons. True - False 7 2 @@ -5286,9 +4709,8 @@ jog buttons. True True False - False True - + 2 @@ -5299,7 +4721,6 @@ jog buttons. True - False 0 5 5 @@ -5313,7 +4734,6 @@ jog buttons. True - False 0 5 5 @@ -5329,7 +4749,6 @@ jog buttons. True - False 0 5 5 @@ -5347,9 +4766,8 @@ jog buttons. True True True - False Sans 10 - + 1 @@ -5362,10 +4780,8 @@ jog buttons. True True - + 1 - False - False True True adj_max_messages @@ -5385,11 +4801,9 @@ jog buttons. True True - + 1 0.0099999997764825821 - False - False True True adj_width_popup @@ -5408,7 +4822,6 @@ jog buttons. True - False 0 5 5 @@ -5424,7 +4837,6 @@ jog buttons. True - False 0 5 5 @@ -5439,10 +4851,8 @@ jog buttons. True True - + 1 - False - False True True adj_x_pos_popup @@ -5460,10 +4870,8 @@ jog buttons. True True - + 1 - False - False True True adj_y_pos_popup @@ -5485,8 +4893,7 @@ jog buttons. True True True - False - + 2 @@ -5501,7 +4908,6 @@ jog buttons. True - False <b> gmoccapy message behavior and appearance </b> True @@ -5516,7 +4922,6 @@ jog buttons. - True False 5 1 @@ -5525,17 +4930,14 @@ jog buttons. True - False True - False Select if you want to use the "Run from line" option. This is not recommended at all! It is very dangerous, because LinucCNC will not take aware of any settings before that line. No offsets, no coordinate system change of feed or spindle speed changes will be noticed. 0.5 True - False 5 5 5 @@ -5543,17 +4945,15 @@ jog buttons. True - False Do not use run from line True True False - False True True - + False @@ -5567,10 +4967,9 @@ jog buttons. True True False - False True rbtn_no_run_from_line - + False @@ -5585,7 +4984,6 @@ jog buttons. True - False <b>Run from line</b> True @@ -5601,7 +4999,6 @@ jog buttons. True - False Log @@ -5612,8 +5009,7 @@ actions True True Log all actions to the history board, this is very usefull for debugging. - False - + False @@ -5631,15 +5027,12 @@ actions False - True 5 2 - True - True 5 0 @@ -5652,7 +5045,6 @@ actions True - False Advanced Settings @@ -5670,7 +5062,6 @@ actions True - False Settings @@ -5701,7 +5092,6 @@ actions True - False Alarm History @@ -5717,7 +5107,6 @@ actions True - False Settings @@ -5732,7 +5121,6 @@ actions True - False @@ -5741,7 +5129,6 @@ actions True - False User tab 1 @@ -5756,7 +5143,6 @@ actions True - False User tabs @@ -5766,22 +5152,18 @@ actions - True - True 1 True - False False - True 2 @@ -5789,7 +5171,6 @@ actions 100 True - False 3 True spread @@ -5801,12 +5182,10 @@ actions True True Estop the machine - False - + True - False images/estopred.png @@ -5825,12 +5204,10 @@ actions True True Turn the machine on/off - False - + True - False images/machine_off.png @@ -5849,12 +5226,11 @@ actions True True enter manual mode to jog axis by hand or touch off - False img_manual True False rbt_auto - + False @@ -5870,11 +5246,10 @@ actions True False enter MDI mode to launch g-code commands - False img_mdi False rbt_auto - + False @@ -5890,10 +5265,9 @@ actions True False enter auto mode to run programs - False img_auto False - + False @@ -5909,12 +5283,10 @@ actions True True Enter the settings page, the default code is "123" - False - + True - False images/configure-2.png @@ -5933,9 +5305,8 @@ actions True False show user tabs - False img_user_tabs - + False @@ -5946,28 +5317,23 @@ actions False - True 3 - True - True 0 True - False False False - + True - False True @@ -5977,9 +5343,8 @@ actions True True open homing button list - False img_ref_al - + False @@ -5995,9 +5360,8 @@ actions True True open touch off button list - False img_touch_off - + False @@ -6010,7 +5374,6 @@ actions 85 56 True - False False @@ -6026,13 +5389,11 @@ actions True True Open the tooleditor page - False top - + True - False images/tools.png @@ -6048,7 +5409,6 @@ actions 85 56 True - False False @@ -6061,7 +5421,6 @@ actions 85 56 True - False False @@ -6074,7 +5433,6 @@ actions 85 56 True - False False @@ -6090,9 +5448,8 @@ actions True True make the preview as large as possible - False img_fullsize_preview - + False @@ -6105,7 +5462,6 @@ actions 85 56 True - False False @@ -6121,9 +5477,8 @@ actions True True Close moccapy / leave the program - False img_close - + False @@ -6139,7 +5494,6 @@ actions True - False manuel button list @@ -6149,7 +5503,6 @@ actions True - False True @@ -6186,12 +5539,10 @@ actions True True This button will show or hide the Keyboard - False - + True - False images/keyboard.png @@ -6212,7 +5563,6 @@ actions True - False MDI button list @@ -6223,7 +5573,6 @@ actions True - False True @@ -6233,10 +5582,9 @@ actions True True Load a new program - False img_open - - + + False @@ -6252,9 +5600,8 @@ actions True True Run the loaded program - False img_run - + False @@ -6272,7 +5619,7 @@ actions Stop the running program hal_action_stop img_stop - + False @@ -6289,13 +5636,12 @@ actions True Pause the running program hal_tgl_pause - + 48 48 True - False pause the running program images/pause.png @@ -6315,9 +5661,8 @@ actions True True Run the loaded program step by step - False img_step - + False @@ -6333,9 +5678,8 @@ actions True True run the program from a certain line, attention, that is dangerous, because the previous lines will not checed! - False img_run_from - + False @@ -6351,14 +5695,12 @@ actions True True Machine or not the optional blocks of the program. If the button is pressed, the optional blocks will not be machined. The button will indicate this by a yellow background. - False - + 48 48 True - False images/tool_blockdelete.gif @@ -6378,8 +5720,7 @@ actions True True Make optional stops or not. if an M1 is programed and the button is pressed (is active) the programm will pause if it found a M1 - False - + False @@ -6394,9 +5735,8 @@ actions True True True - False img_fullsize_preview1 - + False @@ -6412,9 +5752,8 @@ actions True True Edit the loaded program - False img_editor - + False @@ -6430,7 +5769,6 @@ actions True - False Auto button list @@ -6441,14 +5779,12 @@ actions True - False True 85 56 True - False False @@ -6464,14 +5800,12 @@ actions True True home all axis - False - + 48 48 True - False images/refall.png @@ -6487,7 +5821,6 @@ actions 85 56 True - False False @@ -6503,14 +5836,12 @@ actions True True home x axis - False - + 48 48 True - False images/refx.png @@ -6529,14 +5860,12 @@ actions True True home y axis - False - + 48 48 True - False images/refy.png @@ -6548,9 +5877,7 @@ actions - - False - + False False @@ -6565,14 +5892,12 @@ actions True True home z axis - False - + 48 48 True - False images/refz.png @@ -6589,14 +5914,12 @@ actions 56 True True - False - + 48 48 True - False images/refa.png @@ -6612,7 +5935,6 @@ actions 85 56 True - False False @@ -6628,14 +5950,12 @@ actions True True Unhome all axis - False - + 48 48 True - False images/unhome.png @@ -6651,7 +5971,6 @@ actions 85 56 True - False False @@ -6667,9 +5986,8 @@ actions True True go back to main button list - False img_back_ref - + False @@ -6684,7 +6002,6 @@ actions - False homing button @@ -6695,7 +6012,6 @@ actions True - False True @@ -6707,8 +6023,7 @@ offsets True True Edit offsets - False - + False @@ -6724,14 +6039,12 @@ offsets True True touch off X / set X to 0 - False - + 48 48 True - False images/touchoffx.png @@ -6750,14 +6063,12 @@ offsets True True touch off Y / set Y to 0 - False - + 48 48 True - False images/touchoffy.png @@ -6772,7 +6083,6 @@ offsets 85 56 - False False @@ -6788,14 +6098,12 @@ offsets True True touch off Z / set Z to 0 - False - + 48 48 True - False touch off z / set z to 0 images/touchoffz.png @@ -6816,8 +6124,7 @@ G92 True True Zero all G92 offsets - False - + False @@ -6832,8 +6139,7 @@ Height True True True - False - + False @@ -6849,14 +6155,12 @@ Height True True touch off X / set X to an desired value - False - + 48 48 True - False images/touchoffx_value.png @@ -6875,14 +6179,12 @@ Height True True touch off Y / set Y to an desired value - False - + 48 48 True - False images/touchoffy_value.png @@ -6897,7 +6199,6 @@ Height 85 56 - False False @@ -6913,14 +6214,12 @@ Height True True touch off Z / set Z to an desired value - False - + 48 48 True - False images/touchoffz_value.png @@ -6941,8 +6240,7 @@ selected True True set the selected coordinate system to be the active one - False - + False @@ -6958,9 +6256,8 @@ selected True True Go back to main view - False img_back_zero - + False @@ -6976,7 +6273,6 @@ selected True - False touch_off button @@ -6987,7 +6283,6 @@ selected True - False True @@ -6998,8 +6293,7 @@ selected True True delete MDI history - False - + False @@ -7012,7 +6306,6 @@ selected 85 56 True - False False @@ -7025,7 +6318,6 @@ selected 85 56 True - False <b>gmoccapy 1.0.3</b> True @@ -7041,7 +6333,6 @@ selected 85 56 True - False False @@ -7058,8 +6349,7 @@ selected True True Open classicladder - False - + False @@ -7076,8 +6366,7 @@ selected True True launch hal scope - False - + False @@ -7094,8 +6383,7 @@ selected True True launch linuxcnc status - False - + False @@ -7112,9 +6400,8 @@ selected True True launch hal meter - False 0.51999998092651367 - + False @@ -7131,8 +6418,7 @@ selected True True launch calibration - False - + False @@ -7149,8 +6435,7 @@ selected True True opens the show hal tool - False - + False @@ -7166,7 +6451,6 @@ selected True - False setup button list @@ -7177,7 +6461,6 @@ selected True - False True @@ -7189,7 +6472,6 @@ selected True - False view-refresh @@ -7205,7 +6487,6 @@ selected 85 56 True - False False @@ -7223,7 +6504,6 @@ selected True - False document-save @@ -7246,7 +6526,6 @@ selected True - False document-save-as @@ -7265,14 +6544,12 @@ selected False False save the program reload it and run it - False - + 48 48 True - False gtk-media-play @@ -7288,7 +6565,6 @@ selected 85 56 True - False False @@ -7304,14 +6580,12 @@ selected False False clear the edit field and make a new file - False - + 48 48 True - False gtk-new @@ -7327,7 +6601,6 @@ selected 85 56 True - False False @@ -7343,14 +6616,12 @@ selected False False Show or hide the virtual keyboard - False - + 48 48 True - False images/keyboard.png @@ -7369,9 +6640,8 @@ selected False False Go back to main button list - False img_back_zero1 - + False @@ -7387,7 +6657,6 @@ selected True - False edit buttons @@ -7398,7 +6667,6 @@ selected True - False Delete @@ -7408,8 +6676,7 @@ selected True True delete selected tool or tools - False - + False @@ -7426,8 +6693,7 @@ selected True True add a new tool to tool table - False - + False @@ -7444,8 +6710,7 @@ selected True True reload tool table from file - False - + False @@ -7462,8 +6727,7 @@ selected True True apply the changes you made, G43 will be excecuted only if it is active g-code - False - + False @@ -7479,12 +6743,10 @@ selected True True Select a tool by number - False - + True - False images/tool_by_no.svg @@ -7503,12 +6765,10 @@ selected True True change tool with the command M61 Q?, no machine move will be done - False - + True - False images/index_tool.svg @@ -7527,9 +6787,8 @@ selected True True change tool to the selected one - False img_toolchange - + False @@ -7548,8 +6807,7 @@ selected True True touch off the tool and set the value to the tool table - False - + False @@ -7562,7 +6820,6 @@ selected 85 56 True - False False @@ -7581,8 +6838,7 @@ selected True True touch off the tool and set the value to the tool table - False - + False @@ -7598,9 +6854,8 @@ selected True True Go back to main button list - False img_back_tool - + False @@ -7616,7 +6871,6 @@ selected True - False tool @@ -7627,7 +6881,6 @@ selected True - False True @@ -7637,9 +6890,8 @@ selected True True Move to your home directory - False img_home - + False @@ -7655,9 +6907,8 @@ selected True True Move to parrent directory - False img_dir_up - + False @@ -7670,7 +6921,6 @@ selected 85 56 True - False False @@ -7686,10 +6936,9 @@ selected True True Select the previos file - False img_sel_prev top - + False @@ -7705,10 +6954,9 @@ selected True True Select the next file - False img_sel_next top - + False @@ -7724,10 +6972,9 @@ selected True True Jump to user defined directory - False img_jump_to top - + False @@ -7740,7 +6987,6 @@ selected 85 56 True - False False @@ -7756,10 +7002,9 @@ selected True True select the highlighted file and return the path - False img_select top - + False @@ -7772,7 +7017,6 @@ selected 85 56 True - False False @@ -7788,9 +7032,8 @@ selected True True Close without returning a file path - False img_back_file_load - + False @@ -7806,7 +7049,6 @@ selected True - False Load File @@ -7825,4 +7067,6 @@ selected + + diff --git a/src/emc/usr_intf/gmoccapy/gmoccapy.py b/src/emc/usr_intf/gmoccapy/gmoccapy.py index e7a8b4f0b21..7aa12ad0577 100755 --- a/src/emc/usr_intf/gmoccapy/gmoccapy.py +++ b/src/emc/usr_intf/gmoccapy/gmoccapy.py @@ -84,7 +84,7 @@ def excepthook(exc_type, exc_obj, exc_tb): # constants # # gmoccapy #" -_RELEASE = " 1.3.2" +_RELEASE = " 1.3.5.1" _INCH = 0 # imperial units are active _MM = 1 # metric units are active _TEMPDIR = tempfile.gettempdir() # Now we know where the tempdir is, usualy /tmp @@ -191,6 +191,8 @@ def __init__(self): self.width = 979 # The width of the main Window self.height = 750 # The heigh of the main Window + self.gcodeerror = "" # we need this to avoid multile messages of the same error + # the default theme = System Theme we store here to be able to go back to that one later self.default_theme = gtk.settings_get_default().get_property("gtk-theme-name") @@ -1050,9 +1052,9 @@ def _init_keyboard(self, args = "", x = "", y = ""): else: print (_("**** GMOCCAPY ERROR ****")) print (_("**** No virtual keyboard installed, we checked for and .")) + self._no_virt_keyboard() return sid = self.onboard_kb.stdout.readline() - # print"keyboard", sid # skip header line socket = gtk.Socket() socket.show() self.widgets.key_box.add(socket) @@ -1063,7 +1065,9 @@ def _init_keyboard(self, args = "", x = "", y = ""): print (_("**** Error with launching virtual keyboard,")) print (_("**** is onboard or matchbox-keyboard installed? ****")) traceback.print_exc() + self._no_virt_keyboard() + def _no_virt_keyboard(self): # In this case we will disable the coresponding part on the settings page self.widgets.chk_use_kb_on_offset.set_active(False) self.widgets.chk_use_kb_on_tooledit.set_active(False) @@ -1355,8 +1359,15 @@ def _show_error(self, error): else: self.audio.set_sound(self.alert_sound) self.audio.run() -# self.halcomp["error"] = True + def on_gremlin_gcode_error(self, widget, errortext): + if self.gcodeerror == errortext: + return + else: + self.gcodeerror = errortext + print(errortext) + if self.log: self._add_alarm_entry(errortext) + dialogs.warning_dialog(self, _("Important Warning"), errortext) # ========================================================= @@ -3507,6 +3518,7 @@ def on_btn_load_clicked(self, widget, data = None): self._show_iconview_tab(True) self.widgets.IconFileSelection1.refresh_filelist() self.widgets.IconFileSelection1.iconView.grab_focus() + self.gcodeerror = "" def on_btn_sel_next_clicked(self, widget, data = None): self.widgets.IconFileSelection1.btn_sel_next.emit("clicked") @@ -3568,6 +3580,7 @@ def on_btn_edit_clicked(self, widget, data = None): self.widgets.ntb_info.hide() self.widgets.box_info.set_size_request(-1, 50) self.widgets.tbl_search.show() + self.gcodeerror = "" # Search and replace handling in edit mode # undo changes while in edit mode @@ -3636,6 +3649,9 @@ def on_btn_save_and_run_clicked(self, widget, data = None): else: self.widgets.btn_save.emit("clicked") self.widgets.hal_action_reload.emit("activate") + if self.gcodeerror: + self.on_btn_edit_clicked(None) + return self.widgets.ntb_button.set_current_page(2) self.widgets.btn_run.emit("clicked") diff --git a/src/emc/usr_intf/gmoccapy/release_notes.txt b/src/emc/usr_intf/gmoccapy/release_notes.txt index 37978c22f6d..ef6edf53979 100755 --- a/src/emc/usr_intf/gmoccapy/release_notes.txt +++ b/src/emc/usr_intf/gmoccapy/release_notes.txt @@ -1,3 +1,26 @@ +ver. 1.3.5.1 +- forgot to reset the gcode error, resulting in showing it only once, + it ws not shown again if a good file was loaded and than again the + wrong one, now the load and edit button do reset the error code. + +ver. 1.3.5 +- added the new signal from hal_gremlin to gmoccapy so we do get + a message of gcode errors when loading a file and not only when + the interpreter does read the wrong line. A warning box will inform + about the error details. + +ver. 1.3.4 +- if no virtual keyboard was installed (nor onboard or matchbox), + the checkboxes on the settings page has not been sensitized and the + settings has not been reseted correctly from the preference file + Thanks to Roland (concierge) for finding this one + +ver. 1.3.3 +- the combobox for the mouse button mode has not been initialized + correct, if it had the default value of the glade file. It is a + bug in glade. The work around is not to set a default value in glade + but in the python code. + ver. 1.3.2 - fixed a small bug PAUSE button did not get active on M01 Thanks to Rick (LAIR82) for pointing on it.