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

Jeremy Theler jeremy at seamplex.com
Wed Aug 26 12:26:25 CEST 2020


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






More information about the gmsh mailing list