I have really interesting question for my side.
When I use StlAPI_Writer to export shape to STL format, it works only if I call for shape the function:
myAISContext->Display( aisShape, Standard_True );
Without displaying shape under interactive context, fails for shape.
What could be wrong? I need Export shapes to STL in silent mode withoud showing it on screen.
Thank you, in advance.