[Radiance-general] Beginners Questions

Greg Ward gregoryjward at gmail.com
Thu May 9 09:11:02 PDT 2013


Neither "cat" nor "type" are necessary in any case.  Whenever a command is written:

! cat file | program arg1 arg2 ..

you can replace it with:

!program arg1 arg2 .. < file

This works on Unix and Windows, so no need to specialize.

-Greg

> From: Sandy Houck <shouck at brummitt.com>
> Date: May 9, 2013 11:44:17 AM EDT
> 
> Thank you, Santiago
>  
> “type” doesn’t work but now that I know that it is a unix command I will see if I can find a windows command that will.
>  
> And you are right I had a “1” instead of a lower case L.  works now.
>  
> Thanks!
>  
> Regards,
>  
> Sandy Houck   LEED AP BD+C, LC
> Brummitt Energy Associates, Inc.
> 619-531-1126
>  
> From: Santiago Torres [mailto:Santiago.Torres at arup.com] 
> Sent: Wednesday, May 08, 2013 6:24 PM 
> Hi,
>  
> cat is a Unix program, so it should be available under OSX and Linux, but not under Windows. Wikipedia says the command “type” is an equivalent, but I haven’t tried it.
>  
> About genprism, I think the argument before the vector should be -l (lower case ‘L’) not -1 (the number one), I’m not sure which one you’ve used, but may be worth checking.
>  
> Hope this helps.
> Santiago
>  
>  
>  
> From: Sandy Houck [mailto:shouck at brummitt.com] 
> Sent: 2013年5月9日 7:42
> To: radiance-general at radiance-online.org
> Subject: [Radiance-general] Beginners Questions
>  
> I’m working through the tutorials in Rendering with Radiance & have 2 commands that I’m having trouble with so far.
>  
> 1.       !cat (concatenate)  - from page 80 in book – Scene 1 Tutorial, section 2.5 - is this still a valid command?  I couldn’t find an executable file for it in my  Radiance directory & a search online didn’t bring up reference to it either.    The error I get when I try to run oconv is “Can’t find executable for “cat” .system – cannot execute “!cat ./lib/table_1.rad”
>  
> 2.       Genprism – from page 53 in book – I can run genprism if I don’t put in the final 4 extrusion factors.   What am I doing wrong?
> If I run the command as written in the book:  genprism brown_satin_paint stool_leg_sw 4 -0.7 -0.7 -0.6 -0.7 -0.6 -0.6 -0.7 -0.6 -1 0 0 2.5 > look.txt   
> I get the following error:               Usage:  genprism material name { - | vfile | N v1 v2 .. vN} [-1 1vect] [-r radius] [-c][-e]
> If I run the command without the extrusion vector (final 4 #’s) it creates the prism with the ‘z’ values at 1 which I’m guessing is the default.
>  
> Thank you for help!!
>  
> Regards,
>  
> Sandy Houck   LEED AP BD+C, LC
> Brummitt Energy Associates, Inc.
> 619-531-1126
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20130509/cb294513/attachment.html>


More information about the Radiance-general mailing list