vtkSTLReader does not read ASCII STL anymore
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
the vtkSTLReader seems to have an old problem again. The Reader can not open an ASCII STL file anymore.
I get the following error:
ERROR: In /home/shorty/software/ParaView-3.14.1-Source/VTK/IO/vtkSTLReader.cxx, line 446 vtkSTLReader (0x2959910): STLReader error reading file: /home/shorty/OpenFOAM/shorty-2.2.x/run/schichtspeicher/cad/outlet.stl Premature EOF while reading end solid.
It is the same error like here: http://vtk.org/Bug/view.php?id=13160
The STL file is created with SALOME MECA and older STL files can not be loaded to. Additionally I tested the STL files used in the OpenFOAM tutorial for meshing. The same error.
This error occur with self-build in 3.12.0 3.14.0 3.14.1 This error occur with binaries in 3.12.0 3.14.1 With the latest version (binaries) V4 it is working.
Maybe an additional information. I had a look at the STL files and everything is fine.
To remove the error I can change the last line in the STL file:
endsolid --> end solid
After that the vtkSTLReader can read the file but this should not be the normal way.
STL files can be loaded when converting into binary format.
If you need more information let me know.