Cura/plugins/PLYReader/__init__.py
Ghostkeeper 6274a58158
Add plug-in to read PLY files
Seems to work fine.

Contributes to issue CURA-6739.
2019-08-29 13:23:19 +02:00

22 lines
477 B
Python

# Copyright (c) 2019 Ultimaker
# Cura is released under the terms of the LGPLv3 or higher.
from . import PLYReader
from UM.i18n import i18nCatalog
i18n_catalog = i18nCatalog("uranium")
def getMetaData():
return {
"mesh_reader": [
{
"extension": "ply",
"description": i18n_catalog.i18nc("@item:inlistbox", "PLY File")
}
]
}
def register(app):
return {"mesh_reader": PLYReader.PLYReader()}