__init__.py 479 B

123456789101112131415161718192021
  1. # Copyright (c) 2019 fieldOfView
  2. # Cura is released under the terms of the LGPLv3 or higher.
  3. from . import AMFReader
  4. from UM.i18n import i18nCatalog
  5. i18n_catalog = i18nCatalog("uranium")
  6. def getMetaData():
  7. return {
  8. "mesh_reader": [
  9. {
  10. "extension": "amf",
  11. "description": i18n_catalog.i18nc("@item:inlistbox", "AMF File")
  12. }
  13. ]
  14. }
  15. def register(app):
  16. return {"mesh_reader": AMFReader.AMFReader()}