__init__.py 951 B

12345678910111213141516171819202122232425262728
  1. # Copyright (c) 2015 Ultimaker B.V.
  2. # Uranium is released under the terms of the AGPLv3 or higher.
  3. from . import PerObjectSettingsTool
  4. from UM.i18n import i18nCatalog
  5. i18n_catalog = i18nCatalog("cura")
  6. def getMetaData():
  7. return {
  8. "plugin": {
  9. "name": i18n_catalog.i18nc("@label", "Per Object Settings Tool"),
  10. "author": "Ultimaker",
  11. "version": "1.0",
  12. "description": i18n_catalog.i18nc("@info:whatsthis", "Provides the Per Object Settings."),
  13. "api": 2
  14. },
  15. "tool": {
  16. "name": i18n_catalog.i18nc("@label", "Per Object Settings"),
  17. "description": i18n_catalog.i18nc("@info:tooltip", "Configure Per Object Settings"),
  18. "icon": "setting_per_object",
  19. "tool_panel": "PerObjectSettingsPanel.qml",
  20. "weight": 3
  21. },
  22. }
  23. def register(app):
  24. return { "tool": PerObjectSettingsTool.PerObjectSettingsTool() }