<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div><span></span></div><div id="yui_3_16_0_1_1422522926503_3942">Hi Christophe,</div><div id="yui_3_16_0_1_1422522926503_3941" dir="ltr">Unfortunately it makes no difference ;-(</div><div id="yui_3_16_0_1_1422522926503_3934" dir="ltr">I used cadexchanger from <a id="yui_3_16_0_1_1422522926503_4029" href="http://www.cadexchanger.com/">http://www.cadexchanger.com/</a> to convert the step file into a .brep file but this suffers with the same problem.</div><div id="yui_3_16_0_1_1422522926503_3940" dir="ltr">If is do file: save as and type say file2.geo and with the GEO options box "save physical group lables"  ONLY ticked I get a file with all the points, lines line loops etc. When I lad this the element tag numbers stay fixed, ( it is relatively simple geometry consisting of volumes bounded by plane surfaces) but I cannot get the surfaces to be filled (rendered) but only crossed faces even when I set</div><div id="yui_3_16_0_1_1422522926503_3985" dir="ltr">Geometry.SurfaceType = 2   this makes it difficult to pick surfaces to put into surface physical groups infact changing Geometry.SurfaceType to 0 1 or 2 make no difference to the way the surfaces are displayed?</div><div id="yui_3_16_0_1_1422522926503_4021" dir="ltr">Strangely if I load in my cad geometry file Merge "file.STEP"; etc then the surfaces displayed are as expected if one changes the setting of Geometry.SurfaceType, any ideas?</div><div id="yui_3_16_0_1_1422522926503_4039" dir="ltr"><br></div><div id="yui_3_16_0_1_1422522926503_4038" dir="ltr">Thanks in advance.</div><div dir="ltr">Best regards</div><div id="yui_3_16_0_1_1422522926503_4036" dir="ltr">Mark</div><div id="yui_3_16_0_1_1422522926503_3939" dir="ltr"><br>  </div><div id="yui_3_16_0_1_1422522926503_3890" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1422522926503_3889" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1422522926503_3892" dir="ltr"> <hr size="1" id="yui_3_16_0_1_1422522926503_3950">  <font id="yui_3_16_0_1_1422522926503_3891" face="Arial" size="2"> <b id="yui_3_16_0_1_1422522926503_3952"><span id="yui_3_16_0_1_1422522926503_3951" style="font-weight: bold;">From:</span></b> Christophe Geuzaine <cgeuzaine@ulg.ac.be><br> <b><span style="font-weight: bold;">To:</span></b> Mark Smith <piedycat@yahoo.com> <br><b id="yui_3_16_0_1_1422522926503_4031"><span id="yui_3_16_0_1_1422522926503_4030" style="font-weight: bold;">Cc:</span></b> "gmsh@geuz.org" <gmsh@geuz.org> <br> <b id="yui_3_16_0_1_1422522926503_4033"><span id="yui_3_16_0_1_1422522926503_4032" style="font-weight: bold;">Sent:</span></b> Wednesday, January 28, 2015 7:11 PM<br> <b id="yui_3_16_0_1_1422522926503_4035"><span id="yui_3_16_0_1_1422522926503_4034" style="font-weight: bold;">Subject:</span></b> Re: [Gmsh] GMSH renumbers elemntaty tags on reload<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_1_1422522926503_3888"><br><br clear="none">> On 28 Jan 2015, at 15:36, Mark Smith <<a id="yui_3_16_0_1_1422522926503_3887" href="mailto:piedycat@yahoo.com" shape="rect" ymailto="mailto:piedycat@yahoo.com">piedycat@yahoo.com</a>> wrote:<br clear="none">> <br clear="none">>  <br clear="none">> Gmsh version 2.8.5<br clear="none">> <br clear="none">> 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<br clear="none">> <br clear="none">> // in gmsh options-geometry make sure the "cut and merge faces" is checked <br clear="none">> // to remove duplicate entities on import of STEP file<br clear="none">> Merge "file.STEP";<br clear="none">> Geometry.AutoCoherence = 1;<br clear="none">> Coherence;<br clear="none">> <br clear="none">> 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;-(<br clear="none">> I have not had this behaviour before and at this moment it is a show stopper, is there a way of preventing this behaviour?<br clear="none">> <br clear="none"><br clear="none">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?<div class="qtdSeparateBR"><br><br></div><div class="yqt3903116232" id="yqtfd10733"><br clear="none"><br clear="none"><br clear="none">> Thanks in advance<br clear="none">> Mark</div><br clear="none">> <br clear="none">> <br clear="none">> _______________________________________________<br clear="none">> gmsh mailing list<br clear="none">> <a href="mailto:gmsh@geuz.org" shape="rect" ymailto="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br clear="none">> <a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank" shape="rect">http://www.geuz.org/mailman/listinfo/gmsh</a><br clear="none"><br clear="none">-- <br clear="none">Prof. Christophe Geuzaine<br clear="none">University of Liege, Electrical Engineering and Computer Science <br clear="none"><a href="http://www.montefiore.ulg.ac.be/~geuzaine" target="_blank" shape="rect">http://www.montefiore.ulg.ac.be/~geuzaine</a><div class="yqt3903116232" id="yqtfd53732"><br clear="none"><br clear="none"><br clear="none"></div><br><br></div> </div> </div>  </div></body></html>