<html>I was running the online version with an executable without display, and I get:<br />< deleted merging info ><br />Info : Done reading 'Walls_Unit__0__Wall__6.step'<br />Info : Writing 'test.png'...<br />Error : Unknown output file format<br />Info : Done writing 'test.png'<br />Info : Done reading 'gmsh_view.geo'<br />Info : Stopped on Wed Aug 26 11:14:36 2020<br />Info : No current model available: creating one<br /><br />I thought maybe the no-display version of gmsh I compiled was not using some libraries, I used the one with display<br />using "-" as Saha indicated:<br /><br />gmsh.exe gmesh_view.geo -<br /><br />It gives:<br />Info : Done reading './Walls_Unit__0__Wall__6.step'<br />Info : Writing './test.png'...<br />Error : Creating './test.png' requires a graphical interface context<br />Info : Done writing './test.png'<br />Info : Done reading './gmsh_view.geo'<br />Info : Stopped on Wed Aug 26 11:42:32 2020<br /><br />Thank you for reading.<br />Zuheyr<br /><br />On Wednesday, August 26, 2020 11:21 CEST, "Zuheyr Alsalihi" <alsalihi@vki.ac.be> wrote:<br /> <blockquote type="cite" cite="417c-5f462980-b-17865c40@40184736"> </blockquote>Dear Jeremy, <br />When I ran online the command: gmsh.exe gmsh_view.geo <br />..... < deleted merging ... ><br /><br />Info : Writing 'test.png'...<br />Error : Unknown output file format<br />Info : Done writing 'test.png'<br />Info : Done reading 'gmsh_view.geo'<br />Info : Stopped on Wed Aug 26 11:14:36 2020<br />Info : No current model available: creating one<br /><br />No png file generated. <br /><br />Best regards, <br />Zuheyr<br /><br />On Wednesday, August 26, 2020 11:11 CEST, Jeremy Theler <jeremy@seamplex.com> wrote:<br /> <blockquote type="cite" cite="2e46c2ed74ec691c288d994d921eceb498ed4e9a.camel@seamplex.com">What does "I cannot create it online" mean?<br /><br />--<br />jeremy theler<br />www.seamplex.com<br /><br />On Wed, 2020-08-26 at 10:19 +0200, Zuheyr Alsalihi wrote:<br />> Thank you so much!!<br />><br />> I am using a geo file with which I can create a png file using the<br />> display but I cannot create<br />> it online, could you please comment on this?<br />> I have taken the critical points from a post from Prof. Geuzaine's:<br />> Extract of the geo file:<br />><br />> .......<br />> < deleted stuff for merging the step files ><br />> Merge "Walls_Unit__0__Wall__6.step";<br />> SetFactory("OpenCASCADE");<br />> // display stl mesh of CAD surfaces<br />> Geometry.Surfaces = 1;<br />> Geometry.SurfaceType = 0;<br />> // display curves as 3D cylinders<br />> Geometry.LineType = 2;<br />> // specify model rotation using Euler angles<br />> General.Trackball = 0;<br />> General.RotationX = 0;<br />> General.RotationY = 0;<br />> General.RotationZ = 0;<br />> // print image<br />> Print "test.png";<br />><br />> Many thanks and best regards,<br />> Zuheyr<br />><br /><br /><br />_______________________________________________<br />gmsh mailing list<br />gmsh@onelab.info<br />http://onelab.info/mailman/listinfo/gmsh</blockquote><br /><br /><br /> <br /><br /><br /> </html>