<html>Thank you so much!!<br /><br />I am using a geo file with which I can create a  png file using the 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:<pre>Extract of the geo file:

.......
< deleted stuff for merging the step files >
Merge "Walls_Unit__0__Wall__6.step";
SetFactory("OpenCASCADE");
// display stl mesh of CAD surfaces 
Geometry.Surfaces = 1;
Geometry.SurfaceType = 0;
// display curves as 3D cylinders
Geometry.LineType = 2;
// specify model rotation using Euler angles
General.Trackball = 0;                      
General.RotationX = 0;                      
General.RotationY = 0;                      
General.RotationZ = 0;                      
// print image                                
Print "test.png";      
</pre><br />Many thanks and best regards,<br />Zuheyr<br /><br />On Tuesday, August 25, 2020 20:52 CEST, "SAHA, SUDIPTA" <sahas@email.sc.edu> wrote:<br /> <blockquote type="cite" cite="<DM6PR19MB3355D75D1EBA193D8FB98A529A570@DM6PR19MB3355.namprd19.prod.outlook.com"> </blockquote><meta http-equiv="Content-Type" content="text/html; "><style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Yes, this can be done by 'gmsh' command from the terminer. typically you have to run gmsh by : <span style="color: rgb(200, 38, 19);">gmsh filename.geo -  </span><span style="color: rgb(0, 0, 0);">​('-' will invoke the command mode operation). Now you filename.geo script should contain necessary lines for the desired performance. For example, if you want to construct 3D mesh, corresponding line is Mesh 3. Similarly you can export files by putting 'export' command in the script. The lists are given in the manual. </span></div><div><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> </div><div id="Signature"><div><div> </div><div> </div><div> </div><div> </div><div> </div><div> </div><div id="divtagdefaultwrapper" style="background-color:rgb(255,255,255)"><p style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; margin-top:0px; margin-bottom:0px"> </p><div id="Signature" style="">__</div><div id="Signature" style=""> </div><div id="Signature" style=""><font color="#000000" style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt"><span style="font-family:Arial,Helvetica,sans-serif">Best Regards</span></font><div style=""><div style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:13px; margin:0px"><font style=""><font style=""><font face="Helvetica" color="#333399" size="2"><span style="font-size:12pt; font-family:Arial,Helvetica,sans-serif; color:rgb(134,17,6)"><b>Sudipta Saha, MS, EIT</b></span></font></font></font></div><div style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:13px; margin:0px"><font style=""><font style=""><span style="font-family:Arial,Helvetica,sans-serif"><b style="font-size:11pt; font-style:inherit; font-variant-ligatures:inherit; font-variant-caps:inherit">Spent Fuel Modeling Intern, Idaho National Laboratory</b></span><span style="font-family:Arial,Helvetica,sans-serif"><b style="color:inherit; font-size:12pt; font-style:inherit; font-variant-ligatures:inherit; font-variant-caps:inherit"> </b></span></font></font></div><div style="margin:0px"> </div><div style="margin:0px"><font style=""><font style=""><font color="#333399" face="Helvetica" size="2"><span style="color:rgb(0,0,0); font-family:Arial,Helvetica,sans-serif; font-size:10pt"><b>PhD Candidate in Mechanical Engineering</b></span></font></font></font></div><div style="margin:0px"><font style=""><font style=""><span style="color:rgb(0,0,0); font-family:Arial,Helvetica,sans-serif; font-size:10pt">Reacting System and Advanced Energy Research Lab</span></font></font></div><div style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:13px; margin:0px"><div style="margin:0px"><font style=""><font style=""><font face="Helvetica" color="#333399" size="2" style=""><span style="font-size:10pt; color:rgb(0,0,0); font-family:Arial,Helvetica,sans-serif"><font style="color:rgb(96,94,92); font-size:16px; background-color:rgb(255,255,255)"><font color="#570606" face="Times New Roman, Times, serif"><span style="margin:0px; font-size:10pt; font-family:Arial,Helvetica,sans-serif; color:rgb(200,38,19)"><b>Graduate Council Representative, Graduate Student Association</b></span></font></font></span></font></font></font></div><div style="margin:0px"><font style=""><font style=""><font face="Helvetica" color="#333399" size="2" style=""><span style="font-size:10pt; color:rgb(0,0,0); font-family:Arial,Helvetica,sans-serif"><font style="color:rgb(96,94,92); font-size:16px; background-color:rgb(255,255,255)"><font color="#570606" face="Times New Roman, Times, serif"><span style="margin:0px; font-size:10pt; font-family:Arial,Helvetica,sans-serif; color:rgb(200,38,19)"><a title="https://www.linkedin.com/in/sudipta-saha-usc/" style="margin:0px; font-family:Helvetica; background-color:rgb(255,255,255)" href="https://www.linkedin.com/in/sudipta-saha-usc/"><span style="margin:0px; font-family:Arial,Helvetica,sans-serif; color:rgb(12,100,192)">LinkedIn</span></a><span style="margin:0px; font-family:Arial,Helvetica,sans-serif; color:rgb(12,100,192); background-color:rgb(255,255,255)"> | </span><a title="https://www.researchgate.net/profile/Sudipta_Saha13" style="margin:0px; font-family:Helvetica; background-color:rgb(255,255,255)" href="https://www.researchgate.net/profile/Sudipta_Saha13"><span style="margin:0px; font-family:Arial,Helvetica,sans-serif; color:rgb(12,100,192)">ResearchGate</span></a><span style="margin:0px; font-family:Arial,Helvetica,sans-serif; color:rgb(12,100,192); background-color:rgb(255,255,255)"> | </span><span style="margin:0px; font-family:"Times New Roman",Times,serif; color:rgb(81,167,249); background-color:rgb(255,255,255)"><a title="https://scholar.google.com/citations?user=xDVKlBcAAAAJ&hl=en" style="margin:0px" href="https://scholar.google.com/citations?user=xDVKlBcAAAAJ&hl=en"><span style="margin:0px; font-family:Arial,Helvetica,sans-serif; color:rgb(12,100,192)">GoogleScholar</span></a></span><span style="margin:0px; font-family:Arial,Helvetica,sans-serif; color:rgb(12,100,192); background-color:rgb(255,255,255)"> </span><span style="margin:0px; font-family:Arial,Helvetica,sans-serif; color:rgb(12,100,192); background-color:rgb(255,255,255)">|</span><span style="margin:0px; font-family:"Times New Roman",Times,serif; color:rgb(81,167,249); background-color:rgb(255,255,255)"><span style="margin:0px; font-family:Arial,Helvetica,sans-serif; color:rgb(12,100,192)"> </span><span style="margin:0px; font-family:Arial,Helvetica,sans-serif; color:rgb(12,100,192)"><a title="https://sudiptasaha.weebly.com/" style="margin:0px" href="https://sudiptasaha.weebly.com/"><span style="color:rgb(12,100,192)">Website</span></a></span></span></span></font></font></span></font></font></font></div></div><div style="margin:0"><font style=""><font face="Tahoma" size="1" style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt"><span style="font-size:13px"><font face="Helvetica" color="#333399" size="2"><span style="font-size:10pt"><font color="#bd1398"><span style="font-family:"Times New Roman",Times,serif; color:rgb(0,0,0)"><img class="EmojiInsert" style="width:170px" data-outlook-trace="F:1|T:1" src="cid:1e48987d-8de0-480d-b063-0d08635af1b4" /></span></font></span></font></span></font></font></div><div style="margin:0"> </div><div style="margin:0"> </div></div><font style=""> </font></div><p style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; margin-top:0px; margin-bottom:0px"> </p></div></div></div></div><div id="appendonsend"> </div><hr style="display:inline-block;width:98%" tabindex="-1" /><div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> gmsh <gmsh-bounces@ace20.montefiore.ulg.ac.be> on behalf of Zuheyr Alsalihi <alsalihi@vki.ac.be><br /><b>Sent:</b> Tuesday, August 25, 2020 2:03 PM<br /><b>To:</b> gmsh@onelab.info <gmsh@onelab.info><br /><b>Subject:</b> [Gmsh] Step model view export as png from command line/script</font><div> </div></div><div><pre>Dear Gmsh creators,
<i> 
</i>Forever grateful for providing us with this fabulous tools and all your effort in support.

I am working with gmsh without user interface in an optimization process where everything is driven with command line gmsh options in shell scripts.

I just want to load the step files, export the resulting view, what I would have seen if I were working with gmsh with display, to png file, and that is it.

Can I do that? 
 
Thank you very much for reading.
Best regards.
</pre></div><br /><br /><br /> </html>