occt: master 22e70738
|abv||bugmaster||master||2017-08-15 14:58:53||master d21ddc4f|
|Affected Issues||0027561: Data Exchange - since OCCT 7.0.0, exporting a curve to STL creates a file that results in an endless loop when read|
|Changeset||0027561: Since OCCT 7.0.0, exporting a curve to STL creates a file that results in an endless loop when read
Add check for empty triangulation when writing STL file to report error instead of creation of empty file.
STL reader has been improved to properly handle case of empty or small files, and Ascii files without EOL at the end.
|mod - src/RWStl/RWStl.cxx||Diff File|
|mod - src/RWStl/RWStl_Reader.cxx||Diff File|
|mod - src/StlAPI/StlAPI_Writer.cxx||Diff File|
|add - tests/de_mesh/stl_read/D1||Diff File|
|rm - tests/de_mesh/stl_read/end||Diff File|