Closed frmdstryr closed 4 years ago
Well tried that, it fixed that error but hit another of the same thing.
test/test_BRepAlgoAPI.py:22: in <module>
from OCCT.BRepAlgoAPI import BRepAlgoAPI_Fuse
E ImportError: ImportError: ImportError: generic_type: type "BOPTools_BoxTreeSelector" referenced unknown base type "BVH_Traverse<double, 3, BVH_BoxSet<double, 3, int>, bool>"
I think it needs to use generated names based on the template params, just going to remove that function for now.
Ah, found the typo, looks like something got pasted where it shouldn't. It's working fine with that function disabled.
I started hitting https://github.com/pybind/pybind11/issues/439
For whatever reason (I probably deleted a line by accident) in
BOPTools.cxx
it's callingbind_BOPTools_BoxSelector
with different dimensions:bind_BOPTools_BoxSelector
callsbind_BVH_Traverse
, which callsbind_BVH_Traverse
which finally callsbind_BVH_BaseTraverse
with a fixed name of "BVH_Traverse_Base" .This leads to the following error in import:
So I think a patch that checks for duplicates in the binder is needed
I'm not sure if it makes sense to add this everywhere or just patch that one binder?