- added a new parameter in the Edit -> Preferences -> App Preferences named Geo Tolerance. This parameter control the level of geometric detail throughout FlatCAM. It directly influence the effect of Circle Steps parameter.

This commit is contained in:
Marius Stanciu
2019-05-06 22:33:45 +03:00
parent b19047a8b3
commit 0106d95e84
4 changed files with 35 additions and 7 deletions

View File

@@ -81,7 +81,11 @@ class FlatCAMObj(QtCore.QObject):
self.muted_ui = False
self.deleted = False
self._drawing_tolerance = 0.01
try:
self._drawing_tolerance = float(self.app.defaults["global_tolerance"]) if \
self.app.defaults["global_tolerance"] else 0.01
except ValueError:
self._drawing_tolerance = 0.01
self.isHovering = False
self.notHovering = True