Add plug-in to read PLY files

Seems to work fine.

Contributes to issue CURA-6739.
This commit is contained in:
Ghostkeeper 2019-08-29 13:23:19 +02:00
parent 845c2d41ad
commit 6274a58158
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
3 changed files with 104 additions and 0 deletions

View file

@ -0,0 +1,21 @@
# 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()}