2010/10/30 Sebastian Barthmes <sebastian.barth...@googlemail.com> > Hi, > > is it possible to adjust the number of polygons/triangles of the STL-File > exported by the STLExporter class? I couldn't find any hints in the > api-reference or examples. > > Thanks in advance, > > Sebastian Barthmes > > Hi Sebastian,
You should use the StlAPI_Writer class ( http://api.pythonocc.org/OCC.StlAPI.StlAPI_Writer-class.html). The SetDeflection and SetCoefficient methods enable to tune the precision of the mesh regarding the shape. Then use the Write method to export your shape to an STL file. Regards, Thomas
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users