- QRCode Tool: change the plot method parameter
This commit is contained in:
parent
7cbc3c657a
commit
ae7fbdf7c0
|
@ -16,6 +16,7 @@ CAD program, and create G-Code for Isolation routing.
|
||||||
- small update
|
- small update
|
||||||
- fixed imports in all TclCommands
|
- fixed imports in all TclCommands
|
||||||
- fixed the requirements.txt and setup_ubuntu.sh files
|
- fixed the requirements.txt and setup_ubuntu.sh files
|
||||||
|
- QRCode Tool: change the plot method parameter
|
||||||
|
|
||||||
24.10.2019
|
24.10.2019
|
||||||
|
|
||||||
|
|
|
@ -445,7 +445,7 @@ class QRCode(FlatCAMTool):
|
||||||
self.grb_object.source_file = self.app.export_gerber(obj_name=self.grb_object.options['name'], filename=None,
|
self.grb_object.source_file = self.app.export_gerber(obj_name=self.grb_object.options['name'], filename=None,
|
||||||
local_use=self.grb_object, use_thread=False)
|
local_use=self.grb_object, use_thread=False)
|
||||||
|
|
||||||
self.replot()
|
self.replot(obj=self.grb_object)
|
||||||
|
|
||||||
def draw_utility_geo(self, pos):
|
def draw_utility_geo(self, pos):
|
||||||
|
|
||||||
|
@ -582,9 +582,7 @@ class QRCode(FlatCAMTool):
|
||||||
else:
|
else:
|
||||||
yield item
|
yield item
|
||||||
|
|
||||||
def replot(self):
|
def replot(self, obj):
|
||||||
obj = self.grb_object
|
|
||||||
|
|
||||||
def worker_task():
|
def worker_task():
|
||||||
with self.app.proc_container.new('%s...' % _("Plotting")):
|
with self.app.proc_container.new('%s...' % _("Plotting")):
|
||||||
obj.plot()
|
obj.plot()
|
||||||
|
|
Loading…
Reference in New Issue