__init__.py 885 B

1234567891011121314151617181920212223
  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 UM.i18n import i18nCatalog
  7. catalog = i18nCatalog("cura")
  8. def getMetaData():
  9. return {
  10. "plugin": {
  11. "name": catalog.i18nc("@label", "Ultimaker machine actions"),
  12. "author": "Ultimaker",
  13. "version": "1.0",
  14. "description": catalog.i18nc("@info:whatsthis", "Provides machine actions for Ultimaker machines (such as bed leveling wizard, selecting upgrades, etc)"),
  15. "api": 3
  16. }
  17. }
  18. def register(app):
  19. return { "machine_action": [BedLevelMachineAction.BedLevelMachineAction(), UpgradeFirmwareMachineAction.UpgradeFirmwareMachineAction(), UMOCheckupMachineAction.UMOCheckupMachineAction()]}