plato_ply_test, a C code which calls plato_ply(), which writes the five Platonic solids to a PLY file.
The information on this web page is distributed under the MIT license.
plato_ply, a C code which writes a PLY graphics file for any Platonic solid, by Greg Turk.