[Gmsh] python API image dimension

andre bianchessi andrebianchessi at googlemail.com
Mon Sep 30 08:55:04 CEST 2019


Hi!

I need to export .msh files to images using the python API.
My script looks like this:

gmsh.initialize()
gmsh.fltk.initialize()
gmsh.open('domainMesh_0.msh')
gmsh.write('domainMesh_0.png')
gmsh.fltk.wait(0.01)
gmsh.finalize()

1) How can I change the png's resolution ?
2) Is it possible to export the image without opening the GUI?

Thank you,

-- 
André Bianchessi
Mechatronics Engineering Student at University of São Paulo
+55 11 997667070
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20190930/13b32e42/attachment.html>


More information about the gmsh mailing list