Marius Stanciu 5 lat temu
rodzic
commit
a833b3e3d4
4 zmienionych plików z 1208 dodań i 273 usunięć
  1. 4 0
      CHANGELOG.md
  2. 1 0
      appObjects/FlatCAMExcellon.py
  3. 1193 264
      appTools/ToolDrilling.py
  4. 10 9
      camlib.py

+ 4 - 0
CHANGELOG.md

@@ -7,6 +7,10 @@ CHANGELOG for FlatCAM beta
 
 =================================================
 
+21.06.2020
+
+- wip
+
 18.06.2020
 
 - fixed bug in the Cutout Tool that did not allowed the manual cutous to be added on a Geometry created in the Tool

+ 1 - 0
appObjects/FlatCAMExcellon.py

@@ -552,6 +552,7 @@ class ExcellonObject(FlatCAMObj, Excellon):
             "milling_type": self.ui.milling_type_radio,
 
             "milling_dia": self.ui.mill_dia_entry,
+
             "cutz": self.ui.cutz_entry,
             "multidepth": self.ui.mpass_cb,
             "depthperpass": self.ui.maxdepth_entry,

Plik diff jest za duży
+ 1193 - 264
appTools/ToolDrilling.py


+ 10 - 9
camlib.py

@@ -3040,16 +3040,17 @@ class CNCjob(Geometry):
         # #############################################################################################################
         points = {}
         for tool, tool_dict in self.exc_tools.items():
-            if self.app.abort_flag:
-                # graceful abort requested by the user
-                raise grace
+            if tool in tools:
+                if self.app.abort_flag:
+                    # graceful abort requested by the user
+                    raise grace
 
-            if 'drills' in tool_dict and tool_dict['drills']:
-                for drill_pt in tool_dict['drills']:
-                    try:
-                        points[tool].append(drill_pt)
-                    except KeyError:
-                        points[tool] = [drill_pt]
+                if 'drills' in tool_dict and tool_dict['drills']:
+                    for drill_pt in tool_dict['drills']:
+                        try:
+                            points[tool].append(drill_pt)
+                        except KeyError:
+                            points[tool] = [drill_pt]
         log.debug("Found %d TOOLS with drills." % len(points))
 
         # check if there are drill points in the exclusion areas.

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików