- modified the default drawing tolerance from 0.01 to 0.001

This commit is contained in:
Marius Stanciu
2020-12-11 19:30:31 +02:00
committed by Marius
parent d8b22f045a
commit f613c8e9a6
3 changed files with 4 additions and 3 deletions

View File

@@ -18,6 +18,7 @@ CHANGELOG for FlatCAM beta
- Drilling Tool - fixed it to update the UI form also for common parameters on object change - 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_' - 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 - 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 10.12.2020

View File

@@ -260,7 +260,7 @@ class ShapeCollectionVisual(CompoundVisual):
self.freeze() self.freeze()
def add(self, shape=None, color=None, face_color=None, alpha=None, visible=True, 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 Adds shape to collection
:return: :return:

View File

@@ -107,9 +107,9 @@ class FlatCAMObj(QtCore.QObject):
try: try:
self._drawing_tolerance = float(self.app.defaults["global_tolerance"]) if \ 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: except ValueError:
self._drawing_tolerance = 0.01 self._drawing_tolerance = 0.001
self.isHovering = False self.isHovering = False
self.notHovering = True self.notHovering = True