__init__.py 653 B

1234567891011121314151617181920212223
  1. # Copyright (c) 2018 Ultimaker B.V.
  2. # Cura is released under the terms of the LGPLv3 or higher.
  3. from .CustomSupport import CustomSupport
  4. from UM.i18n import i18nCatalog
  5. i18n_catalog = i18nCatalog("cura")
  6. def getMetaData():
  7. return {
  8. "tool": {
  9. "name": i18n_catalog.i18nc("@label", "Custom Support"),
  10. "description": i18n_catalog.i18nc("@info:tooltip", "Draw and erase areas where support needs to be generated."),
  11. "icon": "support_brush.svg",
  12. "tool_panel": "CustomSupportPanel.qml",
  13. "weight": 5
  14. }
  15. }
  16. def register(app):
  17. return {
  18. "tool": CustomSupport()
  19. }