File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -796,6 +796,11 @@ def writebackup(origname):
796796 print (file = file )
797797
798798 if self .d .frontend == _PD ._GMOCCAPY :
799+ print (_ ("# ---signals to show tool offset in the GUI---" ), file = file )
800+ print (file = file )
801+ print ("net tooloffset-x <= motion.tooloffset.x" , file = file )
802+ print ("net tooloffset-z <= motion.tooloffset.z" , file = file )
803+ print (file = file )
799804 gm = os .path .join (base , "gmoccapy_postgui.hal" )
800805 if not os .path .exists (gm ):
801806 f1 = open (gm , "w" )
@@ -804,6 +809,11 @@ def writebackup(origname):
804809 print ("net tool-change-request => gmoccapy.toolchange-change" , file = f1 )
805810 print ("net tool-change-confirmed <= gmoccapy.toolchange-changed" , file = f1 )
806811 print ("net tool-number => gmoccapy.toolchange-number" , file = f1 )
812+ print (file = f1 )
813+ print (_ ("# ---signals to show tool offset in the GUI---" ), file = f1 )
814+ print (file = f1 )
815+ print ("net tooloffset-x => gmoccapy.tooloffset-x" , file = f1 )
816+ print ("net tooloffset-z => gmoccapy.tooloffset-z" , file = f1 )
807817 f1 .close ()
808818 elif self .d .frontend == _PD ._QTDRAGON :
809819 qt = os .path .join (base , "qtvcp_postgui.hal" )
You can’t perform that action at this time.
0 commit comments