mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Add plug-in to read PLY files
Seems to work fine. Contributes to issue CURA-6739.
This commit is contained in:
parent
845c2d41ad
commit
6274a58158
3 changed files with 104 additions and 0 deletions
21
plugins/PLYReader/__init__.py
Normal file
21
plugins/PLYReader/__init__.py
Normal 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()}
|
Loading…
Add table
Add a link
Reference in a new issue