Open bragostin opened 7 months ago
@bragostin Did you install CadQuery via pip? It would be interesting to see if using conda fixes the issue, and also if using an older version of OCP helps (to test for a regression in OpenCASCADE/OCP. If neither of those help, maybe you can check with the gmsh community to see if there is any extra object debugging that can be done on that side?
@jmwright Yes it was a pip
install.
Reverting to cadquery-ocp==7.7.1
does not solve the issue.
Export in a STEP file and importing via gmsh.merge
function works.
I will try with a conda install next.
@jmwright with a fresh conda install conda create -n cadquery -c conda-forge -c cadquery cadquery=master cq-editor=master
and gmsh==4.12.2
(same as pip install) the issue disappears.
So the problem comes from the pip install it seems.
Then it is likely an ABI compatibility issue. conda-forge avoids this by having a well defined toolchain. That is not the case for pip, everyone can choose a different compiler/flags.
@adam-urbanczyk thank you! Anything that can be done beyond using conda? Like raising the issue with the gmsh
team?
You could try compiling all packages yourself. I don't think this is a gmsh or ocp packaging bug.
Dear CQ community,
Using
the following simple code adapted from #1346
yields this error
any idea what is wrong here?