[Gmsh] Avoid duplicate entities with Geometry.OCCAutoFix = 0
cgeuzaine at uliege.be
Sat Nov 10 08:05:01 CET 2018
> On 9 Nov 2018, at 18:48, Juan Córcoles <juan.corcoles at uam.es> wrote:
> Dear gmsh-list,
> I have gone through several previous posts in the list archive to find a way to avoid the creation of duplicate surfaces when building a volume from a surface loop using the opencascade kernel (assuming I am merging a stp/igs file). I found that setting Geometry.OCCAutoFix = 0 should do the trick as I don't care about orientation. However, I am unable to make it work since the behaviour both with this flag set to 0 or 1 looks the same. Please find attached a small commented example in case anyone can help me.
Starting for IGS is a bad idea: all the entities are already duplicated in the file - load the IGS file alone and display e.g. the curve or surface tags to convince yourself. If you cannot create the geometry directly within Gmsh I would advise importing your geometry as a STEP file (or BREP if you build it with an OpenCASCADE-based CAD modeler).
> Thank you very much in advance,
> Juan Córcoles
> gmsh mailing list
> gmsh at onelab.info
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
Free software: http://gmsh.info | http://getdp.info | http://onelab.info
More information about the gmsh