Add 'plugins/CuraEngineBackend/' from commit '918d4b41c8'

git-subtree-dir: plugins/CuraEngineBackend
git-subtree-mainline: 49210587ff
git-subtree-split: 918d4b41c8
This commit is contained in:
Arjen Hiemstra 2015-04-30 12:25:58 +02:00
commit 3823afd8cc
6 changed files with 1024 additions and 0 deletions

View file

@ -0,0 +1,13 @@
from UM.Job import Job
from UM.Application import Application
class ProcessGCodeLayerJob(Job):
def __init__(self, message):
super().__init__()
self._scene = Application.getInstance().getController().getScene()
self._message = message
def run(self):
self._scene.gcode_list.append(self._message.data.decode('utf-8', 'replace'))