[Gmsh] Print mesh picture in batch mode

Christophe Geuzaine c.geuzaine at ulg.ac.be
Wed Jun 30 07:21:06 CEST 2004


Nicolas Tardieu wrote:

> Hi!
> 
> A little practical question : is it possible to produce a mesh in batch 
> mode and to get a picture  (png  or jpg) of it in batch mode too????  :-o
> 

Unfortunately, no. You need the OpenGL window to actually display the
image so that we can grab it (we don't have an offscreen rendering
mode).

But you can still automate the process in a script of you want--you just
need to execute the script on a machine were you can open an OpenGL window.

Best,

Christophe

-- 
Christophe Geuzaine
Applied and Computational Mathematics, Caltech
geuzaine at acm.caltech.edu - http://geuz.org