diff options
author | Ghostkeeper <rubend@tutanota.com> | 2019-08-29 16:34:06 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2019-08-29 16:34:06 +0300 |
commit | 41c5b87eaed328b2bde563bc1e46df9de1af252a (patch) | |
tree | 732abbc8c632120c67d1efa80bd73f7c074fc918 /plugins/TrimeshReader | |
parent | e761b2c2a76b4215334d19921e8e648797a30f5f (diff) |
Document Trimesh not reading OFF files
Contributes to issue CURA-6739.
Diffstat (limited to 'plugins/TrimeshReader')
-rw-r--r-- | plugins/TrimeshReader/TrimeshReader.py | 8 | ||||
-rw-r--r-- | plugins/TrimeshReader/__init__.py | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/plugins/TrimeshReader/TrimeshReader.py b/plugins/TrimeshReader/TrimeshReader.py index 779b0fddf4..c22d98872f 100644 --- a/plugins/TrimeshReader/TrimeshReader.py +++ b/plugins/TrimeshReader/TrimeshReader.py @@ -49,6 +49,14 @@ class TrimeshReader(MeshReader): suffixes = ["gltf"] ) ) + # Trimesh seems to have a bug when reading .off files. + #MimeTypeDatabase.addMimeType( + # MimeType( + # name = "application/x-off", + # comment = "Geomview Object File Format", + # suffixes = ["off"] + # ) + #) MimeTypeDatabase.addMimeType( MimeType( name = "application/x-ply", # Wikipedia lists the MIME type as "text/plain" but that won't do as it's not unique to PLY files. diff --git a/plugins/TrimeshReader/__init__.py b/plugins/TrimeshReader/__init__.py index 0b1ef72be2..8e6d95983f 100644 --- a/plugins/TrimeshReader/__init__.py +++ b/plugins/TrimeshReader/__init__.py @@ -22,6 +22,11 @@ def getMetaData(): "extension": "gltf", "description": i18n_catalog.i18nc("@item:inlistbox", "glTF Embedded JSON") }, + # Trimesh seems to have a bug when reading OFF files. + #{ + # "extension": "off", + # "description": i18n_catalog.i18nc("@item:inlistbox", "Geomview Object File Format") + #}, { "extension": "ply", "description": i18n_catalog.i18nc("@item:inlistbox", "Stanford Triangle Format") |