__init__.py 717 B

1234567891011121314151617181920212223242526
  1. # Seva Alekseyev with National Institutes of Health, 2016
  2. from . import X3DReader
  3. from UM.i18n import i18nCatalog
  4. catalog = i18nCatalog("cura")
  5. def getMetaData():
  6. return {
  7. "plugin": {
  8. "name": catalog.i18nc("@label", "X3D Reader"),
  9. "author": "Seva Alekseyev",
  10. "version": "0.5",
  11. "description": catalog.i18nc("@info:whatsthis", "Provides support for reading X3D files."),
  12. "api": 3
  13. },
  14. "mesh_reader": [
  15. {
  16. "extension": "x3d",
  17. "description": catalog.i18nc("@item:inlistbox", "X3D File")
  18. }
  19. ]
  20. }
  21. def register(app):
  22. return { "mesh_reader": X3DReader.X3DReader() }