PLY Import/Export Scripts released

I am working on a project that requires me to use PLY files. I think it’s a format from Stanford. The scripts are NOT robust, and only work on models that I tested, and I’m sure they won’t work on plenty of PLY files without modification, for example: all vertices must consist of the three coordinates, followed by the normal, otherwise it will not work. The script could definetely use lots of improvement.

Here are the scripts:
http://guinness.cs.stevens-tech.edu/~acorriga/cs638/ply_import.py
http://guinness.cs.stevens-tech.edu/~acorriga/cs638/ply_export.py

Not to discourage you to continue working on these scripts, but there are already some import/export scripts for the PLY-file format:

http://people.cs.uct.ac.za/~bmerry/msc/downloads/ply_import.py
http://people.cs.uct.ac.za/~bmerry/msc/downloads/ply_export.py

and I wrote an import script myself a couple of months ago:
http://users.pandora.be/tuinbels/scripts/PLY_import.py

Greetings,

Wim

Heh, no problem.