-
-
Notifications
You must be signed in to change notification settings - Fork 717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Geom occ_utils imports V3d, AIS, Graphic3d, which are missing DLLs in Conda OCE #812
Comments
Hm, so it's not about the I think it'd be good if you can check if you can reproduce this behaviour in a miniconda environment with dependencies properly installed through conda to see if it's related to the manual download or related to incompatibility between older Alternatively perhaps investigate if the latest builds from conda-forge work better. https://anaconda.org/conda-forge/pythonocc-core/files Edit: one more thing, keep in mind that there are three layers of modules. The V3d.py generated by swig. The _V3d.pyd imported by the .py. And the TKV3d.dll from oce. The error seems to be related to the second item, which is still pythonocc-core and not oce. Edit2: So that's |
Closing as no longer relevant :) |
Removing https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.8.0/src/blenderbim/occ_utils.py:
|
The latest IfcOpenBot build
e44221c
has a little thing that breaks the BlenderBIM Add-on out of the box. This is the relevant history #736 and the PR that caused breakage This is the error:This is caused by
geom/occ_utils.py
L30:For some reason, the OCE builds I grab from Anaconda do not seem to contain the DLLs required on Windows (haven't tested Linux and MacOS) for the
V3d
module,AIS
module, andGraphic3d
module. For completeness, here are the builds I'm grabbing:This error did not occur on previous builds, since previously those modules were lazy-loaded in their respective functions. E.g.:
A workaround for me is to patch the file to make it lazy-load the modules again (after all, I don't actually use the initialize_display etc functions). A better solution would be to find where those DLLs are ... but perhaps I'm just out of luck and Conda doesn't have them.
Thoughts?
The text was updated successfully, but these errors were encountered: