More work on CuraEngineBackend (and backend in general)

This commit is contained in:
Jaime van Kessel 2014-11-18 10:52:49 +01:00
parent f8dd19460b
commit 11ac8e85e8
4 changed files with 29 additions and 6 deletions

View file

@ -0,0 +1,12 @@
from Cura.Backend.Command import Command
from Cura.plugins.CuraBackendEngine.Commands.TransferMeshCommand import TransferMeshCommand
class TransferMeshesCommand(Command):
def __init__(self):
super(TransferMeshesCommand,self).__init__()
def send(self, meshes):
command = TransferMeshCommand(self._socket)
for mesh in meshes:
command.send(mesh)