[Gmsh] GMSH renumbers elemntaty tags on reload

Christophe Geuzaine cgeuzaine at ulg.ac.be
Wed Jan 28 20:11:41 CET 2015


> On 28 Jan 2015, at 15:36, Mark Smith <piedycat at yahoo.com> wrote:
> 
>  
> Gmsh version 2.8.5
> 
> Hi, I load a step file generated in solidworks saved in AP203 or AP214 format and load in into GMSH using a .geo file with the following lines
> 
> // in gmsh options-geometry make sure the "cut and merge faces" is checked 
> // to remove duplicate entities on import of STEP file
> Merge "file.STEP";
> Geometry.AutoCoherence = 1;
> Coherence;
> 
> in the options:geometry I get the model to display the surface labels with their elementary tags number, if I hit reload the tag numbers change this make defining physical surfaces impossible since the surfaces shown in the surface physical groups keep changing;-(
> I have not had this behaviour before and at this moment it is a show stopper, is there a way of preventing this behaviour?
> 

I don't see this behavior when I do the same thing over here (note that "Geometry.AutoCoherence = 1; Coherence;" will have no effect on your STEP data)... Does adding "Delete All;" before the "Merge" command help?


> Thanks in advance
> Mark
> 
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine