Simplified graphics.

This commit is contained in:
Denvi
2015-12-09 17:57:00 +05:00
parent 28e84b49de
commit 7db6bc6989
2 changed files with 3 additions and 1 deletions

View File

@@ -434,7 +434,7 @@ class App(QtCore.QObject):
lambda: self.worker_task.emit({'fcn': self.version_check,
'params': [],
'worker_name': "worker2"}))
self.thr2.start()
# self.thr2.start()
### Signal handling ###
## Custom signals

View File

@@ -668,6 +668,7 @@ class FlatCAMGerber(FlatCAMObj, Gerber):
for poly in geometry:
# TODO: Too many things hardcoded.
try:
poly = poly.simplify(TOLERANCE)
patch = PolygonPatch(poly,
facecolor="#BBF268",
edgecolor="#006E20",
@@ -679,6 +680,7 @@ class FlatCAMGerber(FlatCAMObj, Gerber):
FlatCAMApp.App.log.warning(str(poly))
else:
for poly in geometry:
poly = poly.simplify(TOLERANCE)
x, y = poly.exterior.xy
self.axes.plot(x, y, linespec)
for ints in poly.interiors: