On Thu, Jul 10, 2014 at 6:36 PM, Mihai Neacsu <mihai.mnea...@gmail.com> wrote: > storeBuffer might be what you're looking for? > > [1] > http://raix.github.io/Meteor-CollectionFS/#collectionfsstorebufferfilename-buffer-options > [2] http://raix.github.io/Meteor-CollectionFS/#store-a-file-from-the-server
Thanks for suggestion Mihai, I tried but could not get how to put my contents in buffer. I asked the same question on meteor mailing list and I guess I got a solution. Now the new logic that I am working on is 1. Use transformWrite to create the converted files. Just pipe the uploaded .g file through without modifying it. (Example: https://github.com/CollectionFS/Meteor-CollectionFS#file-manipulation) 2. Start the conversion in the transformWrite handler. 3. Create a new FS.File for each .obj that is generated. Use node.js streams to pipe your converted file to the newly created FS.File's. Example: https://github.com/CollectionFS/Meteor-CollectionFS/#converting-a-file-already-stored. I have been able to do first two steps but still working on the third one. -- Inderpreet Singh Ekoankar Sahai ishwerdas.com facebook.com/okayinder https://kippt.com/okayinder ------------------------------------------------------------------------------ _______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel