Open vijaiaeroastro opened 7 months ago
It's a missing feature... the current implementation only reads binary STL: https://github.com/3MFConsortium/lib3mf/blob/30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05/Source/Common/MeshImport/NMR_MeshImporter_STL.cpp#L132
It would be nice to also have ASCII-reading, yes.
Include the ASCII stl reader from https://github.com/3MFConsortium/lib3mf/issues/364 into lib3mf.
I tried reading a simple ASCII stl file with
Converter.cpp
example The geometry is just a simple box. The example fails with the following errorBinary version of same file works. I have attached the ascii stl here. I am not sure if lib3mf is only designed to read binary STL's. In that case, just let me know and I will close the issue.
stl_box_ascii.zip