mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-01 08:14:22 +08:00
20 lines
729 B
Python
20 lines
729 B
Python
# 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")
|
|
|
|
def getMetaData():
|
|
return {
|
|
"plugin": {
|
|
"name": "UM3 Network Connection",
|
|
"author": "Ultimaker",
|
|
"description": catalog.i18nc("@info:whatsthis", "Manages network connections to Ultimaker 3 printers"),
|
|
"version": "1.0",
|
|
"api": 3
|
|
}
|
|
}
|
|
|
|
def register(app):
|
|
return { "output_device": NetworkPrinterOutputDevicePlugin.NetworkPrinterOutputDevicePlugin(), "machine_action": DiscoverUM3Action.DiscoverUM3Action()} |