mirror of
https://github.com/Denvi/FlatCAM.git
synced 2026-03-25 01:27:17 +01:00
Simplified graphics.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user