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

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:[email protected]]
Sent: 2013Äê5ÔÂ9ÈÕ 7:42
To: [email protected]
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 ¨C 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 ¨C cannot execute ¡°!cat ./lib/table_1.rad¡±

2. Genprism ¨C from page 53 in book ¨C 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

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:[email protected]]
Sent: Wednesday, May 08, 2013 6:24 PM
To: 'Radiance general discussion'
Subject: Re: [Radiance-general] Beginners Questions

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:[email protected]]
Sent: 2013年5月9日 7:42
To: [email protected]<mailto:[email protected]>
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

That's odd Sandy, 'type' is the replacement command for 'cat' on Windows systems. When you say it "didn't work", what do you mean? Is the command there but complaining about a syntax error, or does your system complain that 'type' is an unknown command? Because type is standard on Windows, at least XP and 7…

- Rob

···

On May 9, 2013, at 9:44 AM, Sandy Houck <[email protected]> wrote:

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:[email protected]]
Sent: Wednesday, May 08, 2013 6:24 PM
To: 'Radiance general discussion'
Subject: Re: [Radiance-general] Beginners Questions

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:[email protected]]
Sent: 2013年5月9日 7:42
To: [email protected]
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

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

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 <[email protected]>
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:[email protected]]
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:[email protected]]
Sent: 2013年5月9日 7:42
To: [email protected]
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

Hi Rob & Greg,

Actually I can get 'type' to work at the command line - outside the scene txt file - (I had the slashes the wrong way first). I just can't seem to 'call' it when creating the oct file if it is a line in the scene txt file like the 'cat' program is shown from page 80 of the book "!cat lib/table_1.rad".

My understanding from the 'cat' command in the tutorial is that it will append those files to the end of the octree - making my scene file less cumbersome. (Please correct if I am not understanding that correctly!).

If I replace the cat line above with "type lib/table_1.rad" and do oconv I get the error "can't find executable for type". However if I go to command line & use "type .\lib\table_1.rad >> scene1.all" it will append the table_1 file to the end of scene1.all.

Which is fine with me since I'm incredibly happy when something works!! But I'm guessing having that simple line in the scene file, which makes the scene file smaller will come in very handy when I'm doing more complex projects.

I wasn't able to get the 'program' command to work at either the command line or from within the txt file.

Thank you all for your help!

Regards,

Sandy Houck LEED AP BD+C, LC
Brummitt Energy Associates, Inc.
619-531-1126

···

-----Original Message-----
From: Rob Guglielmetti [mailto:[email protected]]
Sent: Thursday, May 09, 2013 8:58 AM
To: Radiance general discussion
Subject: Re: [Radiance-general] Beginners Questions

That's odd Sandy, 'type' is the replacement command for 'cat' on Windows systems. When you say it "didn't work", what do you mean? Is the command there but complaining about a syntax error, or does your system complain that 'type' is an unknown command? Because type is standard on Windows, at least XP and 7…

- Rob

On May 9, 2013, at 9:44 AM, Sandy Houck <[email protected]> wrote:

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:[email protected]]
Sent: Wednesday, May 08, 2013 6:24 PM
To: 'Radiance general discussion'
Subject: Re: [Radiance-general] Beginners Questions

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:[email protected]]
Sent: 2013年5月9日 7:42
To: [email protected]
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

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general