I want to load 2 STL files, perform a boolean action and save the result.
At the moment, when writing the resulting file with stlAPI::Write, I always got an 'empty' file.
Thus, I just try to load and save an input file and I do have the same empty file on output.
StlAPI::Read(shapes[i], fileNames[i]); seems to load the file (it took 6 seconds in debug, the mesh contains 1184 points, 2364 triangles & 2364 normals.
Using StlAPI::Write result in an empty file.
I'm using opencascade 7.0.0 for windows, visual studio 2013.
Can someone point me to what i'm doing wrong ?