__init__.py 693 B

12345678910111213141516171819202122232425262728
  1. # Copyright (c) 2023 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. "extension": file_extension,
  12. "description": catalog.i18nc("@item:inlistbox", "Makerbot Printfile"),
  13. "mime_type": "application/x-makerbot",
  14. "mode": MakerbotWriter.MakerbotWriter.OutputMode.BinaryMode,
  15. }],
  16. }
  17. }
  18. def register(app):
  19. return {
  20. "mesh_writer": MakerbotWriter.MakerbotWriter(),
  21. }