2013/7/8 <[email protected]>: > Hello everybody > > > > I would like to create many points in gmsh. > > > > Could you tell me if it’s possible to create points in gmsh from a input > file. > > > > In this file, there are x,y,z coordinates of each point. This file could be > an excel file or a simple text file. > > > > If it’s not possible, what is the best way to create many points in gmsh ?
As mentioned at http://www.geuz.org/pipermail/gmsh/2012/007206.html, I don't think Gmsh has any such facility itself, but what works well is using an AWK (or Python, Perl, ...) script to read the coordinates and write the input .geo file. I attach an example. Run it in the shell as follows. gawk -f polygon.awk rectangle.xy > rectangle.geo
polygon.awk
Description: Binary data
rectangle.xy
Description: Binary data
_______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
