mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 06:03:57 -06:00
Drop support for CTM files
Open CTM has been used 5 times on million of slices the past year. Since OpenCTM seems to be abounded since 2012 we have decided to drop support. There are plenty of conversion tools for this file type available. See ultimaker/cura-build-environment#333456c068944ff6b3e7afb2f02a243f0f488371 Contributes to CURA-8640
This commit is contained in:
parent
4099655004
commit
54ccc12649
1 changed files with 4 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2019 Ultimaker B.V., fieldOfView
|
# Copyright (c) 2019-2022 Ultimaker B.V.
|
||||||
# Cura is released under the terms of the LGPLv3 or higher.
|
# Cura is released under the terms of the LGPLv3 or higher.
|
||||||
|
|
||||||
# The _toMeshData function is taken from the AMFReader class which was built by fieldOfView.
|
# The _toMeshData function is taken from the AMFReader class which was built by fieldOfView.
|
||||||
|
@ -29,14 +29,7 @@ class TrimeshReader(MeshReader):
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|
||||||
self._supported_extensions = [".ctm", ".dae", ".gltf", ".glb", ".ply", ".zae"]
|
self._supported_extensions = [".dae", ".gltf", ".glb", ".ply", ".zae"]
|
||||||
MimeTypeDatabase.addMimeType(
|
|
||||||
MimeType(
|
|
||||||
name = "application/x-ctm",
|
|
||||||
comment = "Open Compressed Triangle Mesh",
|
|
||||||
suffixes = ["ctm"]
|
|
||||||
)
|
|
||||||
)
|
|
||||||
MimeTypeDatabase.addMimeType(
|
MimeTypeDatabase.addMimeType(
|
||||||
MimeType(
|
MimeType(
|
||||||
name = "model/vnd.collada+xml",
|
name = "model/vnd.collada+xml",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue