__init__.py 728 B

12345678910111213141516171819202122232425
  1. # Copyright (c) 2015 Ultimaker B.V.
  2. # Cura is released under the terms of the AGPLv3 or higher.
  3. from UM.i18n import i18nCatalog
  4. catalog = i18nCatalog("cura")
  5. from . import GCodeReader
  6. def getMetaData():
  7. return {
  8. "plugin": {
  9. "name": catalog.i18nc("@label", "GCode Reader"),
  10. "author": "Ultimaker",
  11. "version": "1.0",
  12. "description": catalog.i18nc("@info:whatsthis", "Provides support for reading GCode files."),
  13. "api": 2
  14. },
  15. "mesh_reader": {
  16. "extension": "gcode",
  17. "description": catalog.i18nc("@item:inlistbox", "Gcode File")
  18. }
  19. }
  20. def register(app):
  21. return { "mesh_reader": GCodeReader.GCodeReader() }