[ create a new paste ] login | about

Link: http://codepad.org/ZxtpY54m    [ raw code | fork ]

Plain Text, pasted on Aug 20:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/src/emc/usr_intf/axis/scripts/axis.py b/src/emc/usr_intf/axis/scripts/axis.py
index 6786bde..297edc8 100755
--- a/src/emc/usr_intf/axis/scripts/axis.py
+++ b/src/emc/usr_intf/axis/scripts/axis.py
@@ -2253,6 +2253,10 @@ class TclCommands(nf.TclCommands):
             doHoming=prompt_areyousure(_("Warning"),_("Axis is already homed, are you sure you want to re-home?"))
         if doHoming:
             c.home(-1)
+            # clear the G54 offset
+            clear_offset(1)
+            # clear the G55 offset
+            clear_offset(2)
 
     def unhome_all_axes(event=None):
         if not manual_ok(): return
(END)


Create a new paste based on this one


Comments: