__init__.py 417 B

123456789101112131415161718
  1. # Copyright (c) 2021 Ultimaker B.V.
  2. # Cura is released under the terms of the LGPLv3 or higher.
  3. from . import XRayView
  4. from UM.i18n import i18nCatalog
  5. catalog = i18nCatalog("cura")
  6. def getMetaData():
  7. return {
  8. "view": {
  9. "name": catalog.i18nc("@item:inlistbox", "X-Ray view"),
  10. "weight": 1
  11. }
  12. }
  13. def register(app):
  14. return { "view": XRayView.XRayView(parent = app) }