Duplicate surfaces even after Coherence
following this video for using hexas in a mesh, you can see that the meshing returns many errors. After some inspection of what happens at every command, I realized that the first command never removes duplicates:
Extrude {-8, 0, 0} { Surface{9}; Layers{2}; Recombine; }
The 3d mesh comes up incomplete after a while. Also the GMSH meshing seems slower 3.0.6 vs 4.5.3. I'm using the Linux 64 version of 4.5.3 on a generic Ubuntu 8.04 install.
I've attached the files I used:
// Gmsh project created on Sun Feb 23 09:24:13 2020 SetFactory("OpenCASCADE"); Merge "mesh_1.step";
//ear 1 Extrude {-8, 0, 0} { Surface{9}; Layers{2}; Recombine; } //ear 2 Extrude {8, 0, 0} { Surface{7}; Layers{2}; Recombine; } //bottom ear 1 Extrude {0, 0, -10} { Surface{16}; Layers{2}; Recombine; } //bottom ear 2 Extrude {0, 0, -10} { Surface{22}; Layers{2}; Recombine; } //front ear 1 Extrude {0, 20, 0} { Surface{29}; Layers{5}; Recombine; } //front ear 2 Extrude {0, 20, 0} { Surface{34}; Layers{5}; Recombine; } //arch Extrude {{0, 0, -1}, {0, 0, 0}, Pi} { Surface{42}; Layers{15}; Recombine; } //central area Extrude {0, 0, -10} { Surface{2}; Layers{2}; Recombine; } //+ Coherence; Mesh 3; Coherence Mesh;