[Sidefx-houdini-list] "Hscript Sop" - workaround ?

Peter Robbinson probbins at sympatico.ca
Mon Dec 19 16:10:51 EST 2005


Chops has pipeIn and pipeOut chops that will address StdIn and Out.

PeterR

Andrew D Lyons wrote:

>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
>things.
>
>Cheers
>
>
>
>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
>>>      
>>>
>>you
>>    
>>
>>>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.
>>
>>Cheers,
>>Ammon
>>
>>
>>    
>>
>
>
>--
>=======================================
>Andrew D Lyons | Digital Artist | http://www.tstex.com
>=======================================
>_______________________________________________
>Sidefx-houdini-list mailing list
>Sidefx-houdini-list at sidefx.com
>https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>
>  
>




More information about the Sidefx-houdini-list mailing list