Dear Octavio,

I don't know the format, but using the API you could easily read it (e.g. in 
Python or Julia) and import it directly. See e.g. api/discrete.py.

Christophe

> On 5 Mar 2019, at 17:37, Octavio Castillo Reyes <[email protected]> 
> wrote:
> 
> Dear all, 
> 
> I get a 2D triangle mesh from triangle code 
> (https://www.cs.cmu.edu/~quake/triangle.html 
> <https://www.cs.cmu.edu/~quake/triangle.html>). I'm using 
> using .poly format (you probably want to see the .poly format in the 
> website: https://www.cs.cmu.edu/~quake/triangle.poly.html 
> <https://www.cs.cmu.edu/~quake/triangle.poly.html>). 
> 
> The .poly file is used to build meshes based on planar straight line graph 
> (PSLG). However 
> I  want to have it in Gmsh format. So, I am wondering whether there is any 
> existing 
> converter to convert, for instance, the attached .poly file into gmsh file.
> 
> I look forward to hearing from anyone who knows about that matter.
> 
> Best regards
> O.
> <Test.poly>_______________________________________________
> gmsh mailing list
> [email protected]
> http://onelab.info/mailman/listinfo/gmsh

— 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine



_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to