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 gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh