Explorar o código

Added S and T to the list of allowed Gcode commands.

phdussud %!s(int64=10) %!d(string=hai) anos
pai
achega
a8e8b9f0b6
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      camlib.py

+ 2 - 2
camlib.py

@@ -2758,7 +2758,7 @@ class CNCjob(Geometry):
             # 0   4       12
             # G01 X-0.007 Y-0.057
             # --> codes_idx = [0, 4, 12]
-            codes = "NMGXYZIJFP"
+            codes = "NMGXYZIJFPST"
             codes_idx = []
             i = 0
             for ch in line:
@@ -3654,4 +3654,4 @@ class FlatCAMRTreeStorage(FlatCAMRTree):
 #
 #     idx.remove(idx.nearest((0,0))[1])
 #
-#     print [x.bbox for x in idx.rti.nearest((0, 0), num_results=20, objects=True)]
+#     print [x.bbox for x in idx.rti.nearest((0, 0), num_results=20, objects=True)]