Skip to content

Commit 6cd296f

Browse files
LINT
1 parent 7629a94 commit 6cd296f

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/compas_libigl/__init__.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@
1111
from .planarize import quadmesh_planarize
1212
from .meshing import trimesh_remesh_along_isoline, trimesh_remesh_along_isolines
1313

14-
1514
__version__ = "0.4.0"
1615

17-
1816
HERE = os.path.dirname(__file__)
1917

2018
HOME = os.path.abspath(os.path.join(HERE, "../../"))
@@ -77,8 +75,15 @@ def get_armadillo():
7775
return "https://raw.githubusercontent.com/libigl/libigl-tutorial-data/master/armadillo.obj"
7876

7977

78+
def find(name):
79+
"""Find a file in the data directory through recursive search."""
80+
datapath = DATA
81+
return compas.find(name, datapath)
82+
83+
8084
__all_plugins__ = [
81-
"compas_libigl._nanobindcompas_libigl._boundaries",
85+
"compas_libigl._nanobind",
86+
"compas_libigl.boundaries",
8287
"compas_libigl.curvature",
8388
"compas_libigl.geodistance",
8489
"compas_libigl.intersections",
@@ -99,6 +104,7 @@ def get_armadillo():
99104
"get",
100105
"get_beetle",
101106
"get_armadillo",
107+
"find",
102108
"trimesh_boundaries",
103109
"trimesh_gaussian_curvature",
104110
"trimesh_principal_curvature",
@@ -114,4 +120,4 @@ def get_armadillo():
114120
"quadmesh_planarize",
115121
"trimesh_remesh_along_isoline",
116122
"trimesh_remesh_along_isolines",
117-
]
123+
]

0 commit comments

Comments
 (0)