Skip to content

Commit

Permalink
add openctm from external package
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedh committed Mar 8, 2024
1 parent 27fbc55 commit 7517931
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 182 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Expand Up @@ -89,6 +89,7 @@ recommend = [
"psutil",
"scikit-image",
"python-fcl",
"openctm",
"manifold3d>=2.3.0"
]

Expand Down
7 changes: 7 additions & 0 deletions trimesh/exchange/misc.py
Expand Up @@ -133,3 +133,10 @@ def load_meshio(file_obj, file_type=None, **kwargs):
_misc_loaders.update(_meshio_loaders)
except BaseException:
_meshio_loaders = {}

try:
import openctm

_misc_loaders["ctm"] = openctm.load_ctm
except BaseException:
pass
182 changes: 0 additions & 182 deletions trimesh/exchange/openctm.py

This file was deleted.

0 comments on commit 7517931

Please sign in to comment.