Hello,
We are trying to convert STL files to GLB. I’'ve attached a sample STL but the same error happens with all of our other stl files
The code is very straightforward (maybe too straightforward)
Aspose.ThreeD.License license = new Aspose.ThreeD.License();
license.SetLicense(“Aspose.3D.NET.lic”);
var scn = new Aspose.ThreeD.Scene(input.FullName); //stl file input is of type System.IO.FileInfo
outputFormat = Aspose.ThreeD.FileFormat.GLTF2_Binary;
scn.Save(output.FullName, outputFormat);
abe_lincoln.stl.zip (8.1 MB)
Thank you in advance,