From 8940a7d3445a98c9a0bc70adbba4daa229f97b0e Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Sat, 12 Dec 2020 21:52:49 +0200 Subject: [PATCH] - Cutout Tool - made the gap size parameter to take values between 0 and 10000 --- CHANGELOG.md | 1 + appTools/ToolCutOut.py | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4fb7336..6369ec21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ CHANGELOG for FlatCAM beta - SolderPaste Tool - fixed not recognizing the default tools - SolderPaste Tool - fixed the UI - SolderPaste Tool - fixed various issues +- Cutout Tool - made the gap size parameter to take values between 0 and 10000 11.12.2020 diff --git a/appTools/ToolCutOut.py b/appTools/ToolCutOut.py index 4cd967d7..95fa2e5e 100644 --- a/appTools/ToolCutOut.py +++ b/appTools/ToolCutOut.py @@ -2510,6 +2510,7 @@ class CutoutUI: ) self.gapsize = FCDoubleSpinner(callback=self.confirmation_message) + self.gapsize.setRange(0.0000, 10000.0000) self.gapsize.set_precision(self.decimals) grid0.addWidget(self.gapsize_label, 28, 0) @@ -2560,7 +2561,7 @@ class CutoutUI: ) self.mb_dia_entry = FCDoubleSpinner(callback=self.confirmation_message) self.mb_dia_entry.set_precision(self.decimals) - self.mb_dia_entry.setRange(0, 100.0000) + self.mb_dia_entry.setRange(0, 10000.0000) grid0.addWidget(self.mb_dia_label, 34, 0) grid0.addWidget(self.mb_dia_entry, 34, 1) @@ -2572,7 +2573,7 @@ class CutoutUI: ) self.mb_spacing_entry = FCDoubleSpinner(callback=self.confirmation_message) self.mb_spacing_entry.set_precision(self.decimals) - self.mb_spacing_entry.setRange(0, 100.0000) + self.mb_spacing_entry.setRange(0, 10000.0000) grid0.addWidget(self.mb_spacing_label, 36, 0) grid0.addWidget(self.mb_spacing_entry, 36, 1)