mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Add support for OpenCTM
Contributes to issue CURA-6739.
This commit is contained in:
parent
41c5b87eae
commit
714e6f191d
2 changed files with 12 additions and 1 deletions
|
@ -27,7 +27,14 @@ class TrimeshReader(MeshReader):
|
|||
def __init__(self) -> None:
|
||||
super().__init__()
|
||||
|
||||
self._supported_extensions = [".dae", ".gltf", ".glb", ".ply"]
|
||||
self._supported_extensions = [".ctm", ".dae", ".gltf", ".glb", ".ply"]
|
||||
MimeTypeDatabase.addMimeType(
|
||||
MimeType(
|
||||
name = "application/x-ctm",
|
||||
comment = "Open Compressed Triangle Mesh",
|
||||
suffixes = ["ctm"]
|
||||
)
|
||||
)
|
||||
MimeTypeDatabase.addMimeType(
|
||||
MimeType(
|
||||
name = "model/vnd.collada+xml",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue