[Radiance-general] Question concerning genprism

Greg Ward gregoryjward at gmail.com
Sat Jun 13 18:49:09 PDT 2015


Try removing the "\" and just joining the lines in your file, like so:

 # using the modifier brown_satin_paint. create a polygon. named stool_top
 !genprism brown_satin_paint stool_leg_se  4  0.7 -0.7  0.7 -0.6  0.6 -0.6  0.6 -0.7  -l 0 0 2.5

I'm guessing that the Windows command line doesn't like the escaped newlines.

-Greg

> From: Zhe Kong <kongzhewode at gmail.com>
> Subject: [Radiance-general] Question concerning genprism
> Date: June 13, 2015 5:28:56 PM PDT
> 
> Hi all:
> I’m learning Radiance and ran into an issue concerning genprism. According to the book, I typed down the command below. Whenever I tried to oconv the material1.rad & stool_1.rad, it gives me errors below. Someone using Linux system can fix the issue by setting the PATH environment. I already set the PATH, RAYPATH, and MANPATH in both .profile and .bashrc. I’m wondering if there’s any other way of solving the problem.
> Thank you in advance.
> Zhe
> 
>     Error below:
>     T1 > more ./lib/stool_1.rad
>     # stool_1.rad
>     brown_satin_paint polygon stool_top
>     0
>     0
>     12    -0.75  -0.75   2.6
>            0.75  -0.75   2.6
>            0.75   0.75   2.6
>            -0.75  0.75   2.6
>     # using the modifier brown_satin_paint. create a polygon. named stool_top
>     !genprism brown_satin_paint stool_leg_se \
>              4  0.7 -0.7  0.7 -0.6  0.6 -0.6  0.6 -0.7  -l 0 0 2.5
>     !genprism brown_satin_paint stool_leg_ne \
> 
> - Ignored:
>              4  0.7 0.7  0.6 0.7  0.6 0.6  0.7 0.6  -l 0 0 2.5
> 
>     !genprism brown_satin_paint stool_leg_nw \
>              4  -0.7 0.7  -0.7 -0.6  -0.6 0.6  -0.6 0.7  -l 0 0 2.5
> 
>     !genprism brown_satin_paint stool_leg_sw \
>              4  -0.7 -0.7  -0.6 -0.7  -0.6 -0.6  -0.7 -0.6  -l 0 0 2.5
> 
>     T1 > oconv material1.rad ./lib/stool_1.rad > stool_1.oct
>      : cannot open
>     oconv: warning - (!genprism brown_satin_paint stool_leg_se \ ): empty file
>     oconv: fatal - (./lib/stool_1.rad): undefined modifier "4"
>     T1 > oconv material1.rad ./lib/stool_1.rad > stool_1.oct
>     Usage: genprism material name { - | vfile | N v1 v2 .. vN } [-l lvect][-r radius][-c][-e]
>     oconv: warning - (!genprism brown_satin_paint stool_leg_se\ ): empty file
>     oconv: fatal - (./lib/stool_1.rad): undefined modifier "4"
> 
> -- 
> Zhe Kong
> PhD Student
> University of Wisconsin - Milwaukee 
> School of Architecture and Urban Planning 
> 2131 E. Hartford Ave, Milwaukee, WI 53211 
> Office 327
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20150613/5680470f/attachment.html>


More information about the Radiance-general mailing list