- 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

This commit is contained in:
Marius Stanciu
2021-01-18 01:13:26 +02:00
committed by Marius
parent 671b99912d
commit 66dff80e97
3 changed files with 7 additions and 3 deletions

View File

@@ -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: