__init__.py 729 B

1234567891011121314151617181920
  1. # Copyright (c) 2015 Ultimaker B.V.
  2. # Cura is released under the terms of the AGPLv3 or higher.
  3. from . import NetworkPrinterOutputDevicePlugin
  4. from . import DiscoverUM3Action
  5. from UM.i18n import i18nCatalog
  6. catalog = i18nCatalog("cura")
  7. def getMetaData():
  8. return {
  9. "plugin": {
  10. "name": "UM3 Network Connection",
  11. "author": "Ultimaker",
  12. "description": catalog.i18nc("@info:whatsthis", "Manages network connections to Ultimaker 3 printers"),
  13. "version": "1.0",
  14. "api": 3
  15. }
  16. }
  17. def register(app):
  18. return { "output_device": NetworkPrinterOutputDevicePlugin.NetworkPrinterOutputDevicePlugin(), "machine_action": DiscoverUM3Action.DiscoverUM3Action()}