Hi Jeffrey, pythonOCC is suitable for your purpose. It's such a huge API that it's not possible to develop an example for all possible study cases, but from all the examples provided with the library, you can easily import a STL file, explore the topology/geometry of the shape and then write whatever data to whatever output file.
These examples can be browsed at : http://code.google.com/p/pythonocc/source/browse/#svn/trunk/src/examples. Best Regards, Thomas 2010/11/10 Jeffrey E. McAninch <j...@emc2fusion.com> > > I am building a Python/Fortran 95 based simulation environment for some > physics simulations. > > I am interested in reading a Solidworks model (ported for instance to STL) > and querying xyz locations > to populate a simulation mesh, which I will then write out as a NETCDF > database, which will be the > input to my simulation code. > > Is PythonOCC a good environment for doing this? The examples on the > website seem to be > mostly about building and manipulationg a 3D model from python, rather than > querying an > existing model. > > Any suggestions/comments appreciated. > > > ––––––––––––––––––––––––––––– > Jeffrey E. McAninch > > j...@emc2fusion.com > work: 505-471-2050 > cell: 505-412-5050 > > > _______________________________________________ > Pythonocc-users mailing list > Pythonocc-users@gna.org > https://mail.gna.org/listinfo/pythonocc-users >
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users