<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<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);">
<br>
</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">
<span dir="ltr"><font face="Calibri,Arial,Helvetica,sans-serif" color="black" size="3"><span style="font-size:12pt; background-color:white"></span></font></span></p>
<div id="Signature" style="">__</div>
<div id="Signature" style=""><br>
</div>
<div id="Signature" style=""><span style="font-size:12pt"><font face="Calibri,Arial,Helvetica,sans-serif" color="black" size="3"></font></span><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><br>
<font style=""><span style="font-family:"Times New Roman",Times,serif"></span><span style="font-family:Arial,Helvetica,sans-serif"></span>
<div style=""><font style="">
<div style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:13px; margin:0px">
<span style="font-family:Arial,Helvetica,sans-serif"></span><span style="font-family:"Times New Roman",Times,serif"></span><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></div>
<div style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:13px; margin:0px">
<span style="font-family:Arial,Helvetica,sans-serif"></span><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></div>
<span style="font-family:"Times New Roman",Times,serif"></span>
<div style="margin:0px"><font color="#333399" face="Helvetica" size="2"><span style="color:rgb(0,0,0); font-family:"Times New Roman",Times,serif"><b><br>
</b></span></font></div>
<div style="margin:0px"><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></div>
<div style="margin:0px"><span style="color:rgb(0,0,0); font-family:Arial,Helvetica,sans-serif; font-size:10pt">Reacting System and Advanced Energy Research Lab</span></div>
<div style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:13px; margin:0px">
<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)">
<div style="margin:0px"><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></div>
<div style="margin:0px"><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 href="https://www.linkedin.com/in/sudipta-saha-usc/" title="https://www.linkedin.com/in/sudipta-saha-usc/" style="margin:0px; font-family:Helvetica; background-color:rgb(255,255,255)"><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 href="https://www.researchgate.net/profile/Sudipta_Saha13" title="https://www.researchgate.net/profile/Sudipta_Saha13" style="margin:0px; font-family:Helvetica; background-color:rgb(255,255,255)"><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 href="https://scholar.google.com/citations?user=xDVKlBcAAAAJ&hl=en" title="https://scholar.google.com/citations?user=xDVKlBcAAAAJ&hl=en" style="margin:0px"><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 href="https://sudiptasaha.weebly.com/" title="https://sudiptasaha.weebly.com/" style="margin:0px"><span style="color:rgb(12,100,192)">Website</span></a></span></span><br>
</span></font></div>
</font></span></font></div>
</font><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">
<div style="margin:0"><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"><br>
</span></font></span></font></div>
<div style="margin:0"><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)"><br>
</span></font></span></font></div>
<div style="margin:0"><font face="Helvetica" color="#333399" size="2"><span style="font-size:10pt"><font color="#bd1398"><br>
</font></span></font></div>
</span></font></div>
</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>
</body>
</html>