diff --git a/DiscoverUM3Action.py b/DiscoverUM3Action.py new file mode 100644 index 0000000000..c5c853cca8 --- /dev/null +++ b/DiscoverUM3Action.py @@ -0,0 +1,5 @@ +from cura.MachineAction import MachineAction + +class DiscoverUM3Action(MachineAction): + def __init__(self): + super().__init__("DiscoverUM3Action") \ No newline at end of file diff --git a/__init__.py b/__init__.py index d91262f7ba..1efc63e8d0 100644 --- a/__init__.py +++ b/__init__.py @@ -1,7 +1,7 @@ # Copyright (c) 2015 Ultimaker B.V. # Cura is released under the terms of the AGPLv3 or higher. from . import NetworkPrinterOutputDevicePlugin - +from . import DiscoverUM3Action from UM.i18n import i18nCatalog catalog = i18nCatalog("cura") @@ -12,8 +12,11 @@ def getMetaData(): "author": "Ultimaker", "description": catalog.i18nc("Wifi connection", "Wifi connection"), "api": 3 - } + }, + "profile_reader": [ + {} + ] } def register(app): - return { "output_device": NetworkPrinterOutputDevicePlugin.NetworkPrinterOutputDevicePlugin()} \ No newline at end of file + return { "output_device": NetworkPrinterOutputDevicePlugin.NetworkPrinterOutputDevicePlugin(), "machine_action": DiscoverUM3Action.DiscoverUM3Action()} \ No newline at end of file