gmsh file.igs Tools->Options->Geometry->Curve labels/Surface labels
You'll se the duplicates > On 10 Nov 2018, at 08:58, Juan Córcoles <[email protected]> wrote: > > Dear Christophe, > > Thank you very much for your answer. The idea of displaying the number of > lines or surfaces is what I thought I was doing in my examploptionse when I > wrote: > > surfaces()=Surface "*"; > Printf("Original Surfaces: ",surfaces()); > lines()=Line "*"; > Printf("Original Lines:", lines()); > > after merging the IGS file. At this point, I can't see any duplicated > entities (the number is correct), but I don't know if this is what you mean > by displaying the curve or surface tags. > > Thank you very much again for your help, > > On Sat, Nov 10, 2018 at 7:05 AM Christophe Geuzaine <[email protected]> > wrote: > > > > On 9 Nov 2018, at 18:48, Juan Córcoles <[email protected]> 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). > > Christophe > > > > > Thank you very much in advance, > > > > -- > > Juan Córcoles > > http://rfcas.eps.uam.es/juan.corcoles > > > > <test1.igs><test1.geo>_______________________________________________ > > 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 > > > > -- > Juan Córcoles > http://rfcas.eps.uam.es/juan.corcoles > — 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
