__init__.py 665 B

12345678910111213141516171819202122232425
  1. # Copyright (c) 2015 Ultimaker B.V.
  2. # Cura is released under the terms of the AGPLv3 or higher.
  3. from . import XRayView
  4. from UM.i18n import i18nCatalog
  5. catalog = i18nCatalog("cura")
  6. def getMetaData():
  7. return {
  8. "plugin": {
  9. "name": catalog.i18nc("@label", "X-Ray View"),
  10. "author": "Ultimaker",
  11. "version": "1.0",
  12. "description": catalog.i18nc("@info:whatsthis", "Provides the X-Ray view."),
  13. "api": 3
  14. },
  15. "view": {
  16. "name": catalog.i18nc("@item:inlistbox", "X-Ray"),
  17. "weight": 1
  18. }
  19. }
  20. def register(app):
  21. return { "view": XRayView.XRayView() }