[Gmsh] How to generate .png files for all .geo files in a directory.

Mark Starnes mark.starnes at fttech.co.uk
Mon Aug 22 16:10:08 CEST 2011


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.