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:

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

and I wrote an import script myself a couple of months ago:



Heh, no problem.