[Radiance-general] Working plane

Christopher Rush Christopher.Rush at arup.com
Thu Feb 11 10:01:15 PST 2010


Read through the following recent post regarding making a definition of your plastic:
http://www.radiance-online.org/pipermail/radiance-general/2009-December/006434.html

And for workplane calculations on a grid see the following thread:
http://www.radiance-online.org/pipermail/radiance-general/2002-May/000268.html

You can probably find a lot more help throughout the forum archives.
http://www.radiance-online.org/search.html


The following command process is generalized from that post. The cnt command cycles through a two-dimensional array of values (substitute your quantity of points for Xn and Yn), the rcalc command converts to XYZ and direction vector coordinates (adjust Xo and Yo for your first point, and Xd and Yd for spacing between points, and this assumes meter facing straight up, all at same Z coordinate), rtrace does the calculation (adjust calculation options as needed), and rcalc converts the RGB output to illuminance (this is assuming lux).

cnt Xn Yn | rcalc -e \
'$1=Xo+Xd*$1;$2=Yo+Yd*$2;$3=Zo' \
-e '$4=0;$5=0;$6=1' | rtrace -I -h [options] octree \
| rcalc -e '$1=179*(.265*$1+.670*$2+.065*$3)' >
output.dat


____________________________________________________________
Electronic mail messages entering and leaving Arup  business
systems are scanned for acceptability of content and viruses


More information about the Radiance-general mailing list