__init__.py 962 B

123456789101112131415161718192021222324
  1. # Copyright (c) 2016 Ultimaker B.V.
  2. # Cura is released under the terms of the AGPLv3 or higher.
  3. from . import BedLevelMachineAction
  4. from . import UpgradeFirmwareMachineAction
  5. from . import UMOCheckupMachineAction
  6. from . import UMOUpgradeSelection
  7. from UM.i18n import i18nCatalog
  8. catalog = i18nCatalog("cura")
  9. def getMetaData():
  10. return {
  11. "plugin": {
  12. "name": catalog.i18nc("@label", "Ultimaker machine actions"),
  13. "author": "Ultimaker",
  14. "version": "1.0",
  15. "description": catalog.i18nc("@info:whatsthis", "Provides machine actions for Ultimaker machines (such as bed leveling wizard, selecting upgrades, etc)"),
  16. "api": 3
  17. }
  18. }
  19. def register(app):
  20. return { "machine_action": [BedLevelMachineAction.BedLevelMachineAction(), UpgradeFirmwareMachineAction.UpgradeFirmwareMachineAction(), UMOCheckupMachineAction.UMOCheckupMachineAction(), UMOUpgradeSelection.UMOUpgradeSelection()]}