__init__.py 637 B

12345678910111213141516171819202122
  1. # Copyright (c) 2018 Ultimaker B.V.
  2. # Cura is released under the terms of the LGPLv3 or higher.
  3. from . import GCodeGzWriter
  4. from UM.i18n import i18nCatalog
  5. catalog = i18nCatalog("cura")
  6. def getMetaData():
  7. return {
  8. "mesh_writer": {
  9. "output": [{
  10. "extension": "gcode.gz",
  11. "description": catalog.i18nc("@item:inlistbox", "Compressed G-code File"),
  12. "mime_type": "application/gzip",
  13. "mode": GCodeGzWriter.GCodeGzWriter.OutputMode.BinaryMode
  14. }]
  15. }
  16. }
  17. def register(app):
  18. return { "mesh_writer": GCodeGzWriter.GCodeGzWriter() }