Hello, Sorry for the lag between your answer and my.
On Mon, Jun 28, 2010 at 09:52:40PM +0200, Thomas Paviot wrote: > Do API Reference available at: http://api.pythonocc.org > > The methods available from the StlAPI_Writer class, useful to customize the > generated STL files are SetDeflection() (default is 0.01) and > SetCoefficient() (default is 0.001) (documentation: > http://api.pythonocc.org/OCC.StlAPI.StlAPI_Writer-class.html). Am I missing something ? Or the so-called documentation does not gives a clue about what are the parameters ? (it is not a rant about the documentation, I know that writing documentation is hard, boring and difficult ;) Currently It is like "Call theses functions with a random value and guess why this change something." > The algorithm used to generate files is quite simple. You might have a look > at the MEFISTO2 mesher, that creates homogeneous triangles. But you will > have to write the STL exporter by yourself (in ASCII mode, it's not very > difficult). Have a look at the surfacig_mesh.py sample ( > http://code.google.com/p/pythonocc/source/browse/trunk/src/examples/Level1/SMESH/surfacic_mesh.py). Nice example. I have issues importing OCC.SMESH and OCC.StdMeshers with the ubuntu pythonocc package available for ubuntu, I'll try tomorrow to use the pythonocc from source, but I hate when it comes to compilation ;) Thank you for your help. -- Guillaume _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users