[Radiance-general] scripting problem
John Mardaljevic
jm at dmu.ac.uk
Wed Feb 18 07:09:12 PST 2009
Valeria,
If the following material and source descriptions are *not* in your
other .rad, files, then you will only have a description for the sun.
skyfunc glow skyglow
0
0
4 1 1 1 0
skyglow source sky
0
0
4 0 0 1 180
skyfunc glow groundglow
0
0
4 1 1 1 0
groundglow source ground
0
0
4 0 0 -1 180
If that is the case, put the lines above into a file called, say,
sky_glow.rad and include it in the oconv command, e.g:
oconv sky.rad sky_glow.rad office.rad glaze70.rad mirr_ss.rad >
model.oct
Also, there's a typo here:
rtrace -w -h -opv -I+ $opzioni model.oct < office_sensor.pts > |rcalc -
e '$1=$1;$2=$2;$3=179*(.265074126*$4+.670114631*$5+.064811243*$6)' >
$mo.$da.$hh.V.mss.dat
I'm assuming this is all one line, in any case you don't need the ">"
redirection before the pipe to rcalc, just delete it.
A presto!
-John
-----------------------------------------------
Dr. John Mardaljevic
Senior Research Fellow
Institute of Energy and Sustainable Development
De Montfort University
The Gateway
Leicester
LE1 9BH, UK
+44 (0) 116 257 7972
+44 (0) 116 257 7981 (fax)
jm at dmu.ac.uk
http://www.iesd.dmu.ac.uk/~jm
More information about the Radiance-general
mailing list