<div dir="ltr"><div><div><div><div><div><div><div><div>Hi all,<br><br></div>I have an annoying problem when i try to save png from gmsh, using a script.<br></div>Here's my routine :<br></div>First, I create pos files using the command 'gmsh file1.msh savepos.sh -0'. savepos.sh is a GMSH script allowing me to save all views of the msh file in .pos, with the command : save view[i] sprintf("image%g.pos",i).<br>
</div>Then, for all the .pos files, I do 'gmsh image.pos postopng.sh', where postopng.sh is a GMSH script containing only two lines : Print "File.png"; Exit;<br></div>And to end, with a shell script, i rename the File.png in imagei.png, where i is a number.<br>
<br></div>When i do this, GMSH opens and quits (as asked by the option -0). But even without the option, it opens. And I'd like GMSH not to open! I tried many command line options but it doesn't work in any way.<br>
<br></div>Is somebody aware of a way of doing my routine without GMSH popping on my screen? It would help me a lot.<br><br></div>Thanks in advance,<br clear="all"><div><div><div><div><div><div><div><div><div><div><div><br>
<br><div dir="ltr">Alexis PACHOLIK<font style="font-size:12pt" size="3"><br></font><div><div dir="ltr"><div><p><font>+33(0) 605 001 471</font><font style="font-size:10pt"><span style="color:rgb(68,68,68)"><br></span></font></p>
<p><font style="font-size:10pt"><span style="color:rgb(68,68,68)">2ème Année Cycle Ingénieur<br>Option Calcul et Modélisation Scientifiques</span></font><font style="font-size:10pt"><br></font><font style="font-size:10pt"><span style="color:rgb(68,68,68)"><b><i>I</i></b><i>nstitut <b>S</b>upérieur d'<b>I</b>nformatique, de <b>M</b>odélisation </i><i><br>
<i>et de leurs <b>A</b>pplications</i><br></i>University Blaise Pascal, Aubière, France</span></font></p></div></div></div></div>
</div></div></div></div></div></div></div></div></div></div></div></div>