Cura/plugins/TrimeshReader/__init__.py
Ghostkeeper 3a3ba6d590
Add support for .DAE files
Contributes to issue CURA-6739.
2019-08-29 14:58:21 +02:00

25 lines
673 B
Python

# Copyright (c) 2019 Ultimaker
# Cura is released under the terms of the LGPLv3 or higher.
from . import TrimeshReader
from UM.i18n import i18nCatalog
i18n_catalog = i18nCatalog("uranium")
def getMetaData():
return {
"mesh_reader": [
{
"extension": "dae",
"description": i18n_catalog.i18nc("@item:inlistbox", "COLLADA Digital Asset Exchange")
},
{
"extension": "ply",
"description": i18n_catalog.i18nc("@item:inlistbox", "Stanford Triangle Format")
}
]
}
def register(app):
return {"mesh_reader": TrimeshReader.TrimeshReader()}