MPI-IS / mesh

MPI-IS Mesh Processing Library
Other
643 stars 147 forks source link

mesh.compute_aabb_tree.intersection_indices() gives 'spatialsearch' has no attribute 'aabbtree_intersections_indices' error #92

Open AntiLibrary5 opened 1 year ago

AntiLibrary5 commented 1 year ago

https://github.com/MPI-IS/mesh/blob/49e70425cf373ec5269917012bda2944215c5ccd/mesh/search.py#LL39C1-L39C1

from psbody.mesh import Mesh
mesh = Mesh(v=verts, f=faces)
tree = mesh.compute_aabb_tree()
everything = tree.intersections_indices(plane_mesh.v, plane_mesh.f)

image