StlAPI_Writer::SetDeflection()

StlAPI_Writer::SetDeflection() does not seem to have any effect on the output STL file, even after setting RelativeMode to Standard_False. Is it possible to set the output STL file resolution in the free version of OpenCASCADE?

Deelip Menezes

Pawel's picture

Dear Deelip,

if you implemeted setting the RealitveMode to Standard_False, StlAPI_Writer::Write should work ok. I haven't tested it myself but StlTransfer::BuildIncrementalMesh, which generates the mesh according to the provided deflection, works properly (I tested this one;).

Pawel