[Gmsh] ?==?utf-8?q? ?==?utf-8?q? ?= Step model view export as png from command line/scrip

Zuheyr Alsalihi alsalihi at vki.ac.be
Wed Aug 26 22:21:16 CEST 2020


Thank you Jeremy, indeed this works...  and only this works. 
Thank you!
Best regards, Zuheyr
On Wednesday, August 26, 2020 12:26 CEST, Jeremy Theler <jeremy at seamplex.com> wrote:
 On Wed, 2020-08-26 at 11:50 +0200, Zuheyr Alsalihi wrote:
> I was running the online version with an executable without display,
> and I get:
> < deleted merging info >
> Info : Done reading 'Walls_Unit__0__Wall__6.step'
> Info : Writing 'test.png'...
> Error : Unknown output file format
> Info : Done writing 'test.png'
> Info : Done reading 'gmsh_view.geo'
> Info : Stopped on Wed Aug 26 11:14:36 2020
> Info : No current model available: creating one
>
> I thought maybe the no-display version of gmsh I compiled was not
> using some libraries, I used the one with display
> using "-" as Saha indicated:
>
> gmsh.exe gmesh_view.geo -
>
> It gives:
> Info : Done reading './Walls_Unit__0__Wall__6.step'
> Info : Writing './test.png'...
> Error : Creating './test.png' requires a graphical interface
> context


Add an Exit instruction in the .geo and call it without the '-'

--
jeremy theler
www.seamplex.com


 


 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20200826/29590af7/attachment-0001.html>


More information about the gmsh mailing list