- fixed bug in the Cutout Tool that did not allowed the manual cutous to be added on a Geometry created in the Tool

- fixed bug that made the selection box show in the stage of adding manual gaps
- updated Cutout Tool UI
- Cutout Tool - in manual gap adding there is now an option to automatically turn on the big cursor which could help
- Cutout Tool - fixed errors when trying to add a manual gap without having a geometry object selected in the combobox
This commit is contained in:
Marius Stanciu
2020-06-18 14:26:24 +03:00
committed by Marius
parent e70c795961
commit 79fec61934
9 changed files with 717 additions and 546 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -557,7 +557,10 @@ class NonCopperClear(AppTool, Gerber):
try:
dias = [float(self.app.defaults["tools_ncctools"])]
except (ValueError, TypeError):
dias = [float(eval(dia)) for dia in self.app.defaults["tools_ncctools"].split(",") if dia != '']
try:
dias = [float(eval(dia)) for dia in self.app.defaults["tools_ncctools"].split(",") if dia != '']
except AttributeError:
dias = self.app.defaults["tools_ncctools"]
except Exception:
dias = []