[Gmsh] STL Mesh generation surfaces with inward normalnot meshed?!

Christophe Geuzaine cgeuzaine at uliege.be
Sat May 23 09:53:29 CEST 2020

> On 12 May 2020, at 17:50, Zuheyr Alsalihi <alsalihi at vki.ac.be> wrote:
> Dear colleagues,
> I could not easily describe the problem.
> A rectangular slab step file that I have generated, attached CG1.step, shows the top and bottom surfaces inward normal.
> I am not able to reverse this.
> But the surface is there, see Pic1.png. When I create an STL mesh with GMSH gmsh-4.5.6-Linux64/bin/gmsh
> these 2 surfaces are not meshed. Can you please help me understand and solve this problem?

Somehow OpenCASCADE badly translates surface 5 in the STEP file. See attached .brep of the offending surface: all point evaluations within the surface are (wrongly) evaluated on a plane parallel to the surface, but translated.

You should report this bug to the OpenCASCADE developers and attach the STEP file.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: debugSurface.brep
Type: application/octet-stream
Size: 1685 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20200523/013f7d0f/attachment.brep>
-------------- next part --------------

> Many thanks for reading.
> Kind regards,
> Zuheyr <CG1.step><pic2.png><pic1.png>_______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 

More information about the gmsh mailing list