We are working on it - it's not perfect yet, but the latest nightly snapshot works on your test-case. Give it a try?
(The issue is linked to the way OpenCASCADE deals with e.g. spheres, which involves singular parametrizations.) > On 25 Sep 2017, at 09:50, Pierre K <[email protected]> wrote: > > Hi, this "as-short-as-it-gets" code produces an erroneous mesh. The bug gets > worse as the cutting plane gets closer to the equator of the sphere. Is this > fixable? > > > SetFactory("OpenCASCADE"); > Box(2) = {1, -1, -1, 2, 2, 2}; > Sphere(3) = {0.95,0.2,0.2,0.7, -Pi/2,Pi/2, 2*Pi}; > BooleanDifference{ Volume{3}; Delete; }{ Volume{2}; Delete; } > > > All the best > > Pierre > > --------------------------------- > Dr. Pierre KERFRIDEN, Senior Lecturer, Cardiff University, UK > https://www.cardiff.ac.uk/people/view/364400-kerfriden-pierre > Too brief? Here's why! http://emailcharter.org > > > _______________________________________________ > gmsh mailing list > [email protected] > http://onelab.info/mailman/listinfo/gmsh -- Prof. Christophe Geuzaine University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine Free software: http://gmsh.info | http://getdp.info | http://onelab.info _______________________________________________ gmsh mailing list [email protected] http://onelab.info/mailman/listinfo/gmsh
