__init__.py 953 B

1234567891011121314151617181920212223242526272829303132
  1. # Copyright (c) 2015 Ultimaker B.V.
  2. # Uranium is released under the terms of the AGPLv3 or higher.
  3. #Shoopdawoop
  4. from . import GCODEReader
  5. from UM.i18n import i18nCatalog
  6. i18n_catalog = i18nCatalog("uranium")
  7. def getMetaData():
  8. return {
  9. "plugin": {
  10. "name": i18n_catalog.i18nc("@label", "GCODE Reader"),
  11. "author": "Victor Larchenko",
  12. "version": "1.0",
  13. "description": i18n_catalog.i18nc("@info:whatsthis", "Makes it possbile to read GCODE files."),
  14. "api": 3
  15. },
  16. "mesh_reader": [
  17. {
  18. "extension": "gcode",
  19. "description": i18n_catalog.i18nc("@item:inlistbox", "GCODE File")
  20. },
  21. {
  22. "extension": "g",
  23. "description": i18n_catalog.i18nc("@item:inlistbox", "GCODE File")
  24. }
  25. ]
  26. }
  27. def register(app):
  28. return { "mesh_reader": GCODEReader.GCODEReader() }