__init__.py 581 B

1234567891011121314151617181920
  1. # Copyright (c) 2018 Ultimaker B.V.
  2. # Cura is released under the terms of the LGPLv3 or higher.
  3. from . import SupportEraser
  4. from UM.i18n import i18nCatalog
  5. i18n_catalog = i18nCatalog("cura")
  6. def getMetaData():
  7. return {
  8. "tool": {
  9. "name": i18n_catalog.i18nc("@label", "Support Blocker"),
  10. "description": i18n_catalog.i18nc("@info:tooltip", "Create a volume in which supports are not printed."),
  11. "icon": "tool_icon.svg",
  12. "weight": 4
  13. }
  14. }
  15. def register(app):
  16. return { "tool": SupportEraser.SupportEraser() }