mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Added DiscoverUM3 machine action stub
CURA-1385
This commit is contained in:
parent
be779cb92a
commit
f8cac56370
2 changed files with 11 additions and 3 deletions
5
DiscoverUM3Action.py
Normal file
5
DiscoverUM3Action.py
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
from cura.MachineAction import MachineAction
|
||||||
|
|
||||||
|
class DiscoverUM3Action(MachineAction):
|
||||||
|
def __init__(self):
|
||||||
|
super().__init__("DiscoverUM3Action")
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2015 Ultimaker B.V.
|
# Copyright (c) 2015 Ultimaker B.V.
|
||||||
# Cura is released under the terms of the AGPLv3 or higher.
|
# Cura is released under the terms of the AGPLv3 or higher.
|
||||||
from . import NetworkPrinterOutputDevicePlugin
|
from . import NetworkPrinterOutputDevicePlugin
|
||||||
|
from . import DiscoverUM3Action
|
||||||
from UM.i18n import i18nCatalog
|
from UM.i18n import i18nCatalog
|
||||||
catalog = i18nCatalog("cura")
|
catalog = i18nCatalog("cura")
|
||||||
|
|
||||||
|
@ -12,8 +12,11 @@ def getMetaData():
|
||||||
"author": "Ultimaker",
|
"author": "Ultimaker",
|
||||||
"description": catalog.i18nc("Wifi connection", "Wifi connection"),
|
"description": catalog.i18nc("Wifi connection", "Wifi connection"),
|
||||||
"api": 3
|
"api": 3
|
||||||
}
|
},
|
||||||
|
"profile_reader": [
|
||||||
|
{}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
def register(app):
|
def register(app):
|
||||||
return { "output_device": NetworkPrinterOutputDevicePlugin.NetworkPrinterOutputDevicePlugin()}
|
return { "output_device": NetworkPrinterOutputDevicePlugin.NetworkPrinterOutputDevicePlugin(), "machine_action": DiscoverUM3Action.DiscoverUM3Action()}
|
Loading…
Add table
Add a link
Reference in a new issue