__init__.py 807 B

123456789101112131415161718192021222324252627
  1. # Copyright (c) 2015 Ultimaker B.V.
  2. # Cura is released under the terms of the AGPLv3 or higher.
  3. from . import CuraProfileReader
  4. from UM.i18n import i18nCatalog
  5. catalog = i18nCatalog("cura")
  6. def getMetaData():
  7. return {
  8. "plugin": {
  9. "name": catalog.i18nc("@label", "Cura Profile Reader"),
  10. "author": "Ultimaker",
  11. "version": "1.0",
  12. "description": catalog.i18nc("@info:whatsthis", "Provides support for importing Cura profiles."),
  13. "api": 3
  14. },
  15. "profile_reader": [
  16. {
  17. "extension": "curaprofile",
  18. "description": catalog.i18nc("@item:inlistbox", "Cura Profile")
  19. }
  20. ]
  21. }
  22. def register(app):
  23. return { "profile_reader": CuraProfileReader.CuraProfileReader() }