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

- made the Gerber aperture table not visibile as default and added a checkbox that can toggle the visibility
- fixed issue with plotting in CNCJob; with Plot kind set to something else than 'all' when toggling Plot, it was defaulting to kind = 'all'

Marius Stanciu 7 лет назад
Родитель
Сommit
15b533f25e
2 измененных файлов с 4 добавлено и 1 удалено
  1. 2 1
      FlatCAMObj.py
  2. 2 0
      README.md

+ 2 - 1
FlatCAMObj.py

@@ -4902,7 +4902,8 @@ class FlatCAMCNCjob(FlatCAMObj, CNCjob):
     def on_plot_cb_click(self, *args):
         if self.muted_ui:
             return
-        self.plot()
+        kind = self.ui.cncplot_method_combo.get_value()
+        self.plot(kind=kind)
         self.read_form_item('plot')
 
         self.ui_disconnect()

+ 2 - 0
README.md

@@ -17,6 +17,8 @@ CAD program, and create G-Code for Isolation routing.
 - changed the layout in the Selected Tab UI
 - started to add apertures table support
 - finished Gerber aperture table display
+- made the Gerber aperture table not visibile as default and added a checkbox that can toggle the visibility
+- fixed issue with plotting in CNCJob; with Plot kind set to something else than 'all' when toggling Plot, it was defaulting to kind = 'all'
 
 12.02.2019