[Gmsh] non interactive

Bernhard Kubicek bernhard.kubicek at arsenal.ac.at
Thu Nov 8 15:17:18 CET 2007


yes, you can use geo files also as script files to include meshes, and
create screenshots. As far as I know, it is necessary however to let the
window open, to create a screenshot. But you can also exit in the
script:
---view.geo----
Include "your.msh";
//other settings, try '?' button in the 3d-window, an copy paste some
commands
Print Sprintf("out.png");
Exit;
----

very nice greetings,
 Bernhard

On Thu, 2007-11-08 at 11:33 -0200, Bernardo Rocha wrote:
> Hello,
> 
> I'm wondering if is it possible to use run gmsh from the command line
> and save a .jpg image from a .msh file as input?
> 
> Thanks
> -- 
> ===================================
> Bernardo Martins Rocha 
> msn: bernardo.m.rocha at hotmail.com
> skype:bernardo.m.rocha
> =================================== 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh