From 66dff80e97e276b283c511b4c2eaf72677ddd5a7 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Mon, 18 Jan 2021 01:13:26 +0200 Subject: [PATCH] - changed the Drilling Tool such that when an Excellon Object was generated to use the 'Check_points' preprocessor then only that preprocessor will be available and usable --- CHANGELOG.md | 1 + appTools/ToolDrilling.py | 7 +++++-- defaults.py | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8fdac8d8..33699bd6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ CHANGELOG for FlatCAM beta - some changes in the GUI elements and some updates in the Cutout Tool - fixes in Panelize and Cutout Tool (Panelize has issues when exporting Gerber with aperture macros) +- changed the Drilling Tool such that when an Excellon Object was generated to use the 'Check_points' preprocessor then only that preprocessor will be available and usable 13.01.2021 diff --git a/appTools/ToolDrilling.py b/appTools/ToolDrilling.py index 9bbf031f..71c1eeed 100644 --- a/appTools/ToolDrilling.py +++ b/appTools/ToolDrilling.py @@ -311,9 +311,12 @@ class ToolDrilling(AppTool, Excellon): # populate Excellon preprocessor combobox list pp_list = [] for name in self.app.preprocessors.keys(): - # the HPGL preprocessor is only for Geometry not for Excellon job therefore don't add it - if name in ['hpgl', 'Paste_1', 'Check_points']: + # the HPGL preprocessor or Paste_ are not for Excellon job therefore don't add it + if name in ['hpgl', 'Paste_1']: continue + elif name == 'Check_points': + pp_list = [name] + break pp_list.append(name) pp_list.sort() if 'default' in pp_list: diff --git a/defaults.py b/defaults.py index 21fb57c0..37bb107a 100644 --- a/defaults.py +++ b/defaults.py @@ -423,7 +423,7 @@ class FlatCAMDefaults: "tools_drill_multidepth": False, "tools_drill_depthperpass": 0.7, "tools_drill_travelz": 2, - "tools_drill_endz": 0.5, + "tools_drill_endz": 15, "tools_drill_endxy": None, "tools_drill_feedrate_z": 300,