2222import hal_glib # needed to make our own hal pins
2323import gtk .glade
2424import sys # handle system calls
25- import linuxcnc # to get our own error sytsem
25+ import linuxcnc # to get our own error system
2626import gladevcp
2727import time
2828import math
@@ -560,7 +560,7 @@ def on_xp_released(self, gtkbutton, data = None):
560560 # move Z to start point up
561561 if self .z_clearance_up () == - 1 :
562562 return
563- # move to finded point
563+ # move to found point
564564 s = "G1 X%f" % xres
565565 if self .gcode (s ) == - 1 :
566566 return
@@ -589,7 +589,7 @@ def on_yp_released(self, gtkbutton, data = None):
589589 # move Z to start point up
590590 if self .z_clearance_up () == - 1 :
591591 return
592- # move to finded point
592+ # move to found point
593593 s = "G1 Y%f" % yres
594594 if self .gcode (s ) == - 1 :
595595 return
@@ -618,7 +618,7 @@ def on_xm_released(self, gtkbutton, data = None):
618618 # move Z to start point up
619619 if self .z_clearance_up () == - 1 :
620620 return
621- # move to finded point
621+ # move to found point
622622 s = "G1 X%f" % xres
623623 if self .gcode (s ) == - 1 :
624624 return
@@ -647,7 +647,7 @@ def on_ym_released(self, gtkbutton, data = None):
647647 # move Z to start point up
648648 if self .z_clearance_up () == - 1 :
649649 return
650- # move to finded point
650+ # move to found point
651651 s = "G1 Y%f" % yres
652652 if self .gcode (s ) == - 1 :
653653 return
@@ -700,7 +700,7 @@ def on_xpyp_released(self, gtkbutton, data = None):
700700 # move Z to start point up
701701 if self .z_clearance_up () == - 1 :
702702 return
703- # move to finded point
703+ # move to found point
704704 s = "G1 X%f Y%f" % (xres ,yres )
705705 if self .gcode (s ) == - 1 :
706706 return
@@ -750,7 +750,7 @@ def on_xpym_released(self, gtkbutton, data = None):
750750 # move Z to start point up
751751 if self .z_clearance_up () == - 1 :
752752 return
753- # move to finded point
753+ # move to found point
754754 s = "G1 X%f Y%f" % (xres ,yres )
755755 if self .gcode (s ) == - 1 :
756756 return
@@ -801,7 +801,7 @@ def on_xmyp_released(self, gtkbutton, data = None):
801801 # move Z to start point up
802802 if self .z_clearance_up () == - 1 :
803803 return
804- # move to finded point
804+ # move to found point
805805 s = "G1 X%f Y%f" % (xres ,yres )
806806 if self .gcode (s ) == - 1 :
807807 return
@@ -852,7 +852,7 @@ def on_xmym_released(self, gtkbutton, data = None):
852852 # move Z to start point up
853853 if self .z_clearance_up () == - 1 :
854854 return
855- # move to finded point
855+ # move to found point
856856 s = "G1 X%f Y%f" % (xres ,yres )
857857 if self .gcode (s ) == - 1 :
858858 return
@@ -949,7 +949,7 @@ def on_xy_center_released(self, gtkbutton, data = None):
949949 ymres = float (a [1 ])- 0.5 * self .spbtn1_probe_diam .get_value ()
950950 self .lb_probe_ym .set_text ( "%.4f" % ymres )
951951 self .lenght_y ()
952- # find, show and move to finded point
952+ # find, show and move to found point
953953 ycres = 0.5 * (ypres + ymres )
954954 self .lb_probe_yc .set_text ( "%.4f" % ycres )
955955 diam = 0.5 * ((xmres - xpres )+ (ymres - ypres ))
@@ -958,7 +958,7 @@ def on_xy_center_released(self, gtkbutton, data = None):
958958 # move Z to start point up
959959 if self .z_clearance_up () == - 1 :
960960 return
961- # move to finded point
961+ # move to found point
962962 s = "G1 Y%f" % ycres
963963 if self .gcode (s ) == - 1 :
964964 return
@@ -1010,7 +1010,7 @@ def on_xpyp1_released(self, gtkbutton, data = None):
10101010 # move Z to start point
10111011 if self .z_clearance_up () == - 1 :
10121012 return
1013- # move to finded point
1013+ # move to found point
10141014 s = "G1 X%f Y%f" % (xres ,yres )
10151015 if self .gcode (s ) == - 1 :
10161016 return
@@ -1056,7 +1056,7 @@ def on_xpym1_released(self, gtkbutton, data = None):
10561056 # move Z to start point
10571057 if self .z_clearance_up () == - 1 :
10581058 return
1059- # move to finded point
1059+ # move to found point
10601060 s = "G1 X%f Y%f" % (xres ,yres )
10611061 if self .gcode (s ) == - 1 :
10621062 return
@@ -1103,7 +1103,7 @@ def on_xmyp1_released(self, gtkbutton, data = None):
11031103 # move Z to start point
11041104 if self .z_clearance_up () == - 1 :
11051105 return
1106- # move to finded point
1106+ # move to found point
11071107 s = "G1 X%f Y%f" % (xres ,yres )
11081108 if self .gcode (s ) == - 1 :
11091109 return
@@ -1149,7 +1149,7 @@ def on_xmym1_released(self, gtkbutton, data = None):
11491149 # move Z to start point
11501150 if self .z_clearance_up () == - 1 :
11511151 return
1152- # move to finded point
1152+ # move to found point
11531153 s = "G1 X%f Y%f" % (xres ,yres )
11541154 if self .gcode (s ) == - 1 :
11551155 return
@@ -1229,7 +1229,7 @@ def on_xy_hole_released(self, gtkbutton, data = None):
12291229 ypres = float (a [1 ])+ 0.5 * self .spbtn1_probe_diam .get_value ()
12301230 self .lb_probe_yp .set_text ( "%.4f" % ypres )
12311231 self .lenght_y ()
1232- # find, show and move to finded point
1232+ # find, show and move to found point
12331233 ycres = 0.5 * (ymres + ypres )
12341234 self .lb_probe_yc .set_text ( "%.4f" % ycres )
12351235 diam = 0.5 * ((xpres - xmres )+ (ypres - ymres ))
0 commit comments