[Gmsh] Bad support of Medit mesh format

Christophe Geuzaine cgeuzaine at ulg.ac.be
Mon Mar 24 19:15:16 CET 2014


On 23 Mar 2014, at 22:23, Wei-Dong Lian <weidong.lian at gmail.com> wrote:

> Hello everyone,
> 
> I try to import medit mesh format into gmsh (see below the mesh file), I got an error:
> Wrong vertex index. This can be imported into medit mesh viewer. 
> If I truncate the "Dimension 3" into two lines, then it works in gmsh. This may not be a real bug, but a bad support. Normally, when you export .mesh from CGAL, you get "Dimension 3" as default.
> It would be nice that gmsh can import correctly .mesh, rather than a fake message "Wrong vertext inde".
> 

Hi Weidong - This should be fixed in SVN.
Thanks for the feedback,
Ch.

> Thanks for your attention,
> BR,
> Weidong
> 
> 
> /*************************************/
> MeshVersionFormatted 1
> Dimension 3
> Vertices
> 4
> 0 0 0 1
> 1 0 0 1
> 1 1 0 1
> 1 0 1 1
> Triangles
> 1
> 1 2 3 1
> End
> /****************************************/
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

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