__init__.py 758 B

123456789101112131415161718192021222324252627282930
  1. # Copyright (c) 2024 UltiMaker
  2. # Cura is released under the terms of the LGPLv3 or higher.
  3. from UM.i18n import i18nCatalog
  4. from . import MakerbotWriter
  5. catalog = i18nCatalog("cura")
  6. def getMetaData():
  7. file_extension = "makerbot"
  8. return {
  9. "mesh_writer": {
  10. "output": [
  11. {
  12. "extension": file_extension,
  13. "description": catalog.i18nc("@item:inlistbox", "Makerbot Sketch Printfile"),
  14. "mime_type": "application/x-makerbot-sketch",
  15. "mode": MakerbotWriter.MakerbotWriter.OutputMode.BinaryMode,
  16. },
  17. ],
  18. }
  19. }
  20. def register(app):
  21. return {
  22. "mesh_writer": MakerbotWriter.MakerbotWriter(),
  23. }