Windows version of FEATool expects <CR><LF> in .msh import
This post was updated on .
See thread Grid import failed [Edit: Mar 23, 2020 ~23:45Z]
When importing .msh (created on Windows by Gmsh) using the FEATool mesh import option on Windows (Grid->Import Grid->Gmsh Format), the import fails with message: "Grid import failed."
After stripping out the carriage return from the .msh file, FEATool imported it with no problem. Is there an FEATool option that directs it to treat .msh input files as DOS-like(\r\n)? Has this been changed in 1.12?
Would this same problem occur with reading other files such as the .geo from Gmsh? I seem to recall having a problem with that too.... I just figured that due to my inexperience I had created a bad file with Gmsh...
Oh, I just remembered, I think I also had problems reading an .stl (Geometry->Import Geometry-> STL Format) and maybe even with a.geo format ... should I go re-test these (.stl and .geo) before reporting them as issues or is this probably all the same issue as the .msh \r\n problem?
Re: Windows version of FEATool expects <CR><LF> in .msh import
Thank you for reporting the issue. I mostly develop and test on Windows systems and have not encountered these issues but will look in to it. It could be due to system version/setup etc. and in retrospect I should probably strip out all Windows file endings before reading for consistency sake. To manually convert files I typically use the dos2unix command line utility.