Serializes a PLY file to a stream
npm install write-plywrite-ply
=========
Writes a PLY file to a stream
``javascript
var writePLY = require("../write-ply.js")
writePLY({ vertex: { x: [0, 0, 0], y: [1, 1, 0], z: [0, 1, 1] },
face: { vertex_index: [ [0, 1, 2] ] } }).pipe(process.stdout)
`
* data is a JSON encoded PLY file. It must have two fields:vertex
+ an object containing the properties of the verticesface
+ an object containing the properties of the facesoptions
* is an optional object containg separate flags. In addition to the usual options you can set on a Readable stream, you can also set the flag binary` which tells whether to use a binary format or ascii.
Returns A readable stream that you can pipe to wherever you want encoding the contents of the PLY file