Yes, once you have the mesh created, you can used the Draw and Print command, e.g.<br><br>// Generate mesh, set transformation, etc.<br>Draw;<br>Print "thumbnail.png";<br><br>James<br><br><div class="gmail_quote">
On Mon, Aug 22, 2011 at 10:10 AM, Mark Starnes <span dir="ltr"><<a href="mailto:mark.starnes@fttech.co.uk">mark.starnes@fttech.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi everyone,<br>
<br>
I have hundreds (well, more) of .geo files and I was wondering if there was a way to<br>
call, from the command line, gmsh such that a two dimensional mesh is created and<br>
the output saved as a .png, for viewing with a thumbnail viewer.  I can create the mesh<br>
from the command line ok, but when I specify an output filename, a mesh is being saved<br>
when I specify .png as the extension.  I think this is the expected behaviour (from reading<br>
the manual).<br>
<br>
Is it possible to generate images in this way?<br>
<br>
Best regards,<br>
<br>
Mark.<br>
_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br>
<a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank">http://www.geuz.org/mailman/listinfo/gmsh</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Qingnan (James) Zhou<br><br>