[Sidefx-houdini-list] "Hscript Sop" - workaround ?
Andrew D Lyons
tstexture at gmail.com
Mon Dec 19 14:34:15 EST 2005
Hmmm. I think I've got something to go with here.
Thanks for all the ideas and suggestions. This is going to lever some cool
On 19/12/05, Ammon Riley <ammon at rhythm.com> wrote:
> > Does this mean you want to have something that lies "in the pipeline"
> > of SOPs(specifically) and behaves like a Unix SOP, except they don't
> > happen to worth with std I/O? I would think that you could still use
> > this by piping out to a file then catting it back in(all in the same
> > command call) when done. I'll admit I've never tried this but you
> > might want to take a shot.
> I helped Doug Bloom do this. It works just fine, and is really quite
> simple. You end up with a command that looks like:
> (cat > /tmp/foo.geo; cmd /tmp/foo.geo /tmp/bar.geo; cat /tmp/bar.geo)
> > However, you also indicate you want to massage things, perhaps
> getting rather
> > complicated with some Perl coding. If you're going that route, couldn't
> > do the same thing? Your Perl code pipes to stdio?
> If doing perl coding, then you might as well write the perl script to
> conform to the Unix SOP's way of working -- internally, of course,
> you can then do whatever you want.
Andrew D Lyons | Digital Artist | http://www.tstex.com
More information about the Sidefx-houdini-list