mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 01:35:56 +08:00
Added transferMeshCommand
This commit is contained in:
parent
71bbe1ef7e
commit
f8dd19460b
6
TransferMeshCommand.py
Normal file
6
TransferMeshCommand.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
from Cura.Backend.Command import Command
|
||||||
|
|
||||||
|
class TransferMeshCommand(Command):
|
||||||
|
def __init__(self):
|
||||||
|
super(TransferMeshCommand,self).__init__()
|
||||||
|
|
@ -5,4 +5,6 @@ def getMetaData():
|
|||||||
return { "name": "CuraBackend", "type": "Backend" }
|
return { "name": "CuraBackend", "type": "Backend" }
|
||||||
|
|
||||||
def register(app):
|
def register(app):
|
||||||
app.setBackend(CuraEngineBackend())
|
engine = CuraEngineBackend()
|
||||||
|
app.setBackend(engine)
|
||||||
|
engine.addCommand(TransferMeshCommand())
|
Loading…
x
Reference in New Issue
Block a user