<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 13 Apr 2018, at 11:48, Yoann LE BARS <<a href="mailto:yoann@le-bars.net" class="">yoann@le-bars.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">
  
  <div text="#000000" bgcolor="#FFFFFF" class="">
    <br class="">
    Hello everybody out there!<br class="">
    <br class=""></div></div></blockquote><div><br class=""></div><div>Hi Yoann,</div><div class=""><br class=""></div><blockquote type="cite" class=""><div class=""><div text="#000000" bgcolor="#FFFFFF" class="">
        After further investigations, it turns out that tools from SLIM
    are producing files on MSH format version 3, while WaveWatch 3 is
    using MSH format version 2. I will probably modify WaveWatch 3 to
    make it accept version 3 format, but before I need to convert files
    from version 3 to version 2. Therefore, my questions are:<br class="">
    <br class="">
    <ol class="">
      <li class="">Where can I find the description of MSH format version 3?</li></ol></div></div></blockquote><div>Version 3 was never officially released/documented. Gmsh 4.0 will introduce a much more efficient version 4 format.</div><br class=""><blockquote type="cite" class=""><div class=""><div text="#000000" bgcolor="#FFFFFF" class=""><ol class="" start="2">
      <li class="">Is there any script converting from version 3 to version 2?</li></ol></div></div></blockquote><div>You can simply load the mesh in Gmsh, and save it in version 2. You can do this with the GUI, in a .geo script, or directly on the command line:</div><div><br class=""></div><div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">gmsh v3.msh -save -o v2.msh</span></div></div><div><br class=""></div><div>Christophe</div><br class=""><blockquote type="cite" class=""><div class=""><div text="#000000" bgcolor="#FFFFFF" class=""><ol class="" start="2">
    </ol>
        Anyway, I have started some code to convert files (code attached
    to this message), but without version 3 description, I am a bit
    stuck.<br class="">
    <br class="">
        Best regards.<br class="">
    <br class="">
    <pre class="moz-signature" cols="72">-- 
Yoann LE BARS
<a class="moz-txt-link-freetext" href="http://le-bars.net/yoann">http://le-bars.net/yoann</a>
*Diaspora : <a class="moz-txt-link-abbreviated" href="mailto:ylebars@framasphere.org">ylebars@framasphere.org</a></pre>
  </div>

<span id="cid:CC16DBA4-F9E3-4EF3-B93D-CAE6716945E6@home"><convertmsh.py></span>_______________________________________________<br class="">gmsh mailing list<br class=""><a href="mailto:gmsh@onelab.info" class="">gmsh@onelab.info</a><br class="">http://onelab.info/mailman/listinfo/gmsh<br class=""></div></blockquote></div><br class=""></body></html>