1111from .planarize import quadmesh_planarize
1212from .meshing import trimesh_remesh_along_isoline , trimesh_remesh_along_isolines
1313
14-
1514__version__ = "0.4.0"
1615
17-
1816HERE = os .path .dirname (__file__ )
1917
2018HOME = 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