> On 27 Sep 2017, at 09:19, Alessandro Vicini <[email protected]>
> wrote:
>
>
> Hello, I still have some issues when using OpenCascade and Boolean operations.
> For the attached geo file, when I generate the 2D mesh it can be seen from
> the attached picture that the vertical edge in the front is duplicated (mesh
> is different on the two sides). To work this out I have to delete one of the
> lateral surfaces of the box and to reconstruct it.
> Is this an expected behavior, or is it possible to avoid it? Thank you.
Your geometry construction seems a bit convoluted... And indeed to create
duplicate curves on the boundary of the surfaces.
Quick fix: just "fragment" everything at the end, which will remove the
duplicates:
s() = Surface "*";
BooleanFragments{ Surface{s()}; Delete; }{}
>
> A.
>
>
> <Test.geo><Mesh2D.jpg>_______________________________________________
> 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