__init__.py 671 B

123456789101112131415161718192021
  1. # Copyright (c) 2016 Ultimaker B.V.
  2. # Cura is released under the terms of the AGPLv3 or higher.
  3. from . import MachineSettingsAction
  4. from UM.i18n import i18nCatalog
  5. catalog = i18nCatalog("cura")
  6. def getMetaData():
  7. return {
  8. "plugin": {
  9. "name": catalog.i18nc("@label", "Machine Settings action"),
  10. "author": "fieldOfView",
  11. "version": "1.0",
  12. "description": catalog.i18nc("@info:whatsthis", "Provides a way to change machine settings (such as build volume, nozzle size, etc)"),
  13. "api": 3
  14. }
  15. }
  16. def register(app):
  17. return { "machine_action": MachineSettingsAction.MachineSettingsAction() }