Re: [Gmsh] issue concerning the boolean difference of two volumes?

2018-05-30 Thread Christophe Geuzaine
Try with the latest snapshots: the issue seems fixed. Christophe > On 30 May 2018, at 15:02, Bertrand Thierry wrote: > > Hello Nicu, > > The same problem on my computer. I guess it comes from a tolerance problem > with the boolean operators. > Adding this to your code : > Geometry.Tolera

Re: [Gmsh] issue concerning the boolean difference of two volumes?

2018-05-30 Thread Bertrand Thierry
Hello Nicu, The same problem on my computer. I guess it comes from a tolerance problem with the boolean operators. Adding this to your code :     Geometry.ToleranceBoolean = 0.001; makes it work again. (however, I'm not sure if it's the right way to deal with it, maybe someone else will confi

[Gmsh] issue concerning the boolean difference of two volumes?

2018-05-30 Thread Nicolae Cindea
Dear all, I think there is an issue concerning the difference (or the intersection) of two volumes. The following code: // here starts the code SetFactory("OpenCASCADE"); L = 0.5; // cylinder length [0, L] l = 1.00; // triangle edge r = 0.050; // radius of the sphere h = l * Sqrt(3) / 2