Pview option to read from stdin
In my opinion its an idea to have an option to make pview read the egg or bam file from stdin, simply by specifying "-" as the filename. With this it can be useful to directly pipe a converter or exporter's output to pview.
Whiteboard
(treeform) thats cool i also posted some of python command line egg tools i use for my models
could come in handy as a global set of command line egg tools to do stuff.
(drwr) The Loader already provides an interface to load from any istream: you can call Loader:
If we wanted to provide this functionality to pview, we would probably just limit it to egg files (or later, to dae files). And this means writing custom code in pview to invoke EggData, rather than hooking it into the Loader somehow.
(rdb) Ah, OK. Shouldn't we add this on the LoaderFileTypeEgg level, or even on the EggData level? (the read function would check if the filename is "-" and then call the appropriate method to read from cin.)