Yes, this can be done by 'gmsh' command from the terminer. typically you have 
to run gmsh by : gmsh filename.geo -  ​('-' 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.


__

Best Regards
Sudipta Saha, MS, EIT
Spent Fuel Modeling Intern, Idaho National Laboratory

PhD Candidate in Mechanical Engineering
Reacting System and Advanced Energy Research Lab
Graduate Council Representative, Graduate Student Association
LinkedIn<https://www.linkedin.com/in/sudipta-saha-usc/> | 
ResearchGate<https://www.researchgate.net/profile/Sudipta_Saha13> | 
GoogleScholar<https://scholar.google.com/citations?user=xDVKlBcAAAAJ&hl=en> | 
Website<https://sudiptasaha.weebly.com/>
[cid:1e48987d-8de0-480d-b063-0d08635af1b4]



________________________________
From: gmsh <gmsh-boun...@ace20.montefiore.ulg.ac.be> on behalf of Zuheyr 
Alsalihi <alsal...@vki.ac.be>
Sent: Tuesday, August 25, 2020 2:03 PM
To: gmsh@onelab.info <gmsh@onelab.info>
Subject: [Gmsh] Step model view export as png from command line/script


Dear Gmsh creators,

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.

_______________________________________________
gmsh mailing list
gmsh@onelab.info
http://onelab.info/mailman/listinfo/gmsh

Reply via email to