Просмотр исходного кода

- removed some brackets in the GRBL laser preprocessor due of GRBL firmware interpreting the first closing bracket as the comment end

Marius Stanciu 5 лет назад
Родитель
Сommit
8a3770f169
2 измененных файлов с 5 добавлено и 1 удалено
  1. 4 0
      CHANGELOG.md
  2. 1 1
      preprocessors/GRBL_laser.py

+ 4 - 0
CHANGELOG.md

@@ -7,6 +7,10 @@ CHANGELOG for FlatCAM beta
 
 =================================================
 
+19.09.2020
+
+- removed some brackets in the GRBL laser preprocessor due of GRBL firmware interpreting the first closing bracket as the comment end
+
 3.09.2020
 
 - in CNCJob UI Autolevelling: changed the UI a bit

+ 1 - 1
preprocessors/GRBL_laser.py

@@ -43,7 +43,7 @@ class GRBL_laser(PreProc):
         gcode += '(X range: ' + '{: >9s}'.format(xmin) + ' ... ' + '{: >9s}'.format(xmax) + ' ' + units + ')\n'
         gcode += '(Y range: ' + '{: >9s}'.format(ymin) + ' ... ' + '{: >9s}'.format(ymax) + ' ' + units + ')\n\n'
 
-        gcode += '(Laser Power (Spindle Speed): ' + str(p['spindlespeed']) + ')\n\n'
+        gcode += '(Laser Power - Spindle Speed: ' + str(p['spindlespeed']) + ')\n\n'
 
         gcode += ('G20' if p.units.upper() == 'IN' else 'G21') + "\n"
         gcode += 'G90\n'