From f613c8e9a665255a62c8a18056b2cc455c85d128 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Fri, 11 Dec 2020 19:30:31 +0200 Subject: [PATCH] - modified the default drawing tolerance from 0.01 to 0.001 --- CHANGELOG.md | 1 + appGUI/VisPyVisuals.py | 2 +- appObjects/FlatCAMObj.py | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb245147..489f4d88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ CHANGELOG for FlatCAM beta - Drilling Tool - fixed it to update the UI form also for common parameters on object change - new Application Objects will hold all the options that start with 'tools_' - Tool Corners - fixed the positions of the drills and for the verification locations in the Drill in Locations and Check in Locations Excellon objects, to take in the consideration the tool diameter +- modified the default drawing tolerance from 0.01 to 0.001 10.12.2020 diff --git a/appGUI/VisPyVisuals.py b/appGUI/VisPyVisuals.py index 8e8d24d6..2ecb11a3 100644 --- a/appGUI/VisPyVisuals.py +++ b/appGUI/VisPyVisuals.py @@ -260,7 +260,7 @@ class ShapeCollectionVisual(CompoundVisual): self.freeze() def add(self, shape=None, color=None, face_color=None, alpha=None, visible=True, - update=False, layer=1, tolerance=0.01, linewidth=None): + update=False, layer=1, tolerance=0.001, linewidth=None): """ Adds shape to collection :return: diff --git a/appObjects/FlatCAMObj.py b/appObjects/FlatCAMObj.py index 0a248e06..b6645bf2 100644 --- a/appObjects/FlatCAMObj.py +++ b/appObjects/FlatCAMObj.py @@ -107,9 +107,9 @@ class FlatCAMObj(QtCore.QObject): try: self._drawing_tolerance = float(self.app.defaults["global_tolerance"]) if \ - self.app.defaults["global_tolerance"] else 0.01 + self.app.defaults["global_tolerance"] else 0.001 except ValueError: - self._drawing_tolerance = 0.01 + self._drawing_tolerance = 0.001 self.isHovering = False self.notHovering = True