ReadMedit not working

Hi,
I’m trying to load a Medit mesh file but ReadMedit runs and fails (without any specific error, after some 1 or 2 minutes it crashes python) to load the mesh.

from netgen.read_gmsh import ReadMedit 
mesh = ReadMedit('temp.mesh')

The temp.mesh file seems to be a valid Medit file ?

Thanks for your help.
temp.mesh (607 Bytes)

Hi,
your medit file misses the End tag, if you write that just after the last line it reads correctly.
Best

Hi Christopher
Thanks a lot, I forgot the End tag !

Now I create mesh=ngsolve.Mesh(mesh), but it doesn’t give the same methods as ReadGmsh.

Best