__init__.py 695 B

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