mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
12 lines
No EOL
440 B
Python
12 lines
No EOL
440 B
Python
from Cura.Backend.Command import Command
|
|
from Cura.plugins.CuraBackendEngine.Commands.TransferVertCommand import TransferVertCommand
|
|
|
|
class TransferMeshCommand(Command):
|
|
def __init__(self):
|
|
super(TransferMeshCommand,self).__init__()
|
|
|
|
def send(self, mesh_data):
|
|
vertices = mesh_data.getVertices()
|
|
command = TransferVertCommand(self._socket)
|
|
for vertex in vertices:
|
|
command.send(vertex) |