Yes, once you have the mesh created, you can used the Draw and Print
command, e.g.

// Generate mesh, set transformation, etc.
Draw;
Print "thumbnail.png";

James

On Mon, Aug 22, 2011 at 10:10 AM, Mark Starnes <[email protected]>wrote:

> Hi everyone,
>
> I have hundreds (well, more) of .geo files and I was wondering if there was
> a way to
> call, from the command line, gmsh such that a two dimensional mesh is
> created and
> the output saved as a .png, for viewing with a thumbnail viewer.  I can
> create the mesh
> from the command line ok, but when I specify an output filename, a mesh is
> being saved
> when I specify .png as the extension.  I think this is the expected
> behaviour (from reading
> the manual).
>
> Is it possible to generate images in this way?
>
> Best regards,
>
> Mark.
> _______________________________________________
> gmsh mailing list
> [email protected]
> http://www.geuz.org/mailman/listinfo/gmsh
>



-- 
Qingnan (James) Zhou
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh

Reply via email to