@@ -809,6 +809,7 @@ def on_gotoG28(self):
809
809
Make a rapid move from current location to the position defined by the last G28.1
810
810
If no positions are stored with G28.1 then all axes will go to the machine origin.
811
811
'''
812
+ '''
812
813
if not self.__settings.value("dontConfirmG28", False, type=bool):
813
814
# Confirmation :
814
815
m = msgBox(
@@ -830,13 +831,20 @@ def on_gotoG28(self):
830
831
else:
831
832
# Envoi sans confirmation
832
833
self.__grblCom.gcodePush("G28")
834
+ '''
835
+ ''' Appel de la boite de dialogue G28 '''
836
+ dlg = dlgG28_30_1 ("G28" , self .__grblCom , self .__decode , self .__nbAxis , self .__axisNames )
837
+ dlg .setParent (self )
838
+ dlg .showDialog ()
839
+
833
840
834
841
@pyqtSlot ()
835
842
def on_gotoG30 (self ):
836
843
'''
837
844
Make a rapid move from current location to the position defined by the last G30.1
838
845
If no positions are stored with G30.1 then all axes will go to the machine origin.
839
846
'''
847
+ '''
840
848
if not self.__settings.value("dontConfirmG30", False, type=bool):
841
849
# Confirmation :
842
850
m = msgBox(
@@ -858,20 +866,25 @@ def on_gotoG30(self):
858
866
else:
859
867
# Envoi sans confirmation
860
868
self.__grblCom.gcodePush("G30")
869
+ '''
870
+ ''' Appel de la boite de dialogue G30 '''
871
+ dlg = dlgG28_30_1 ("G30" , self .__grblCom , self .__decode , self .__nbAxis , self .__axisNames )
872
+ dlg .setParent (self )
873
+ dlg .showDialog ()
861
874
862
875
863
876
@pyqtSlot ()
864
877
def on_mnuDefineG28 (self ):
865
878
''' Appel de la boite de dialogue G28.1 '''
866
- dlg = dlgG28_30_1 ("G28" , self .__grblCom , self .__decode , self .__nbAxis , self .__axisNames )
879
+ dlg = dlgG28_30_1 ("G28.1 " , self .__grblCom , self .__decode , self .__nbAxis , self .__axisNames )
867
880
dlg .setParent (self )
868
881
dlg .showDialog ()
869
882
870
883
871
884
@pyqtSlot ()
872
885
def on_mnuDefineG30 (self ):
873
886
''' Appel de la boite de dialogue G30.1 '''
874
- dlg = dlgG28_30_1 ("G30" , self .__grblCom , self .__decode , self .__nbAxis , self .__axisNames )
887
+ dlg = dlgG28_30_1 ("G30.1 " , self .__grblCom , self .__decode , self .__nbAxis , self .__axisNames )
875
888
dlg .setParent (self )
876
889
dlg .showDialog ()
877
890
0 commit comments