OCC Intersect does not return anything (where cut or fragment returns something)
Hi Cristophe,
while (finally) looking to finish tests to close issue 1061 (#1061 (closed)) and fixing some of my scripts, i unfortunately think that i have found something else :
In the testCase "meshVerFSP3D_PtX0Y1Z1.py" (joined below) : the computation of the intersection of ellipsoids 2, 4 and 5 with the cube (vol 1) return an empty output (where the intersection must not be empty). Trying in the Gui (opened during the script running), the beahvior is the same with "intersect", where the "cut" or "fragment" command return new volumes. Having returned the problem in all the configurations i have no clue what happens. It is not linked to the order of the operations (the same geometry where the ellipsoid are built in another order gives the same results, but with not so different geometry, it works ("meshVerFSP3D_PtX0Y0Z0.py")
Tested on -win 10 / gmsh-sdk 4.7.1 (4.5.6 & 20201113 nightly built) -Linux64 (debian9) / gmsh-sdk 4.7.1
the scripts are here below :
- to run failing test : python3 meshVerFSP3D_PtX0Y1Z1.py
- to run working test : python3 meshVerFSP3D_PtX0Y0Z0.py
thanks a lot for your support
Luc
gmshTools3D.py mesherVerFSP3D.py meshVerFSP3D_PtX0Y0Z0.py meshVerFSP3D_PtX0Y1Z1.py