Couldnt wrap BSDF
Hi all, Ive been playing around with the genBSDF on windows on rad files generated through HoneyBee legacy in grasshopper.
i use the msh2rad in HB and this generated two radiance files, one for materials and one for the geometry. I then merge the two files in a text editor, adding the material before the geometry. this can be done in windows through a batch command:
copy material_testrad001.rad+testrad001.rad testrad001combined.rad
I saw John's post here https://unmethours.com/question/32101...
I tried running genBSDF through perl and radiance included in Openstudio 2.4.
C:\openstudio-2.4.0\Perl\perl\bin\perl.exe c:\radiance\bin\genBSDF.pl -r "-ad 10000 -ab 3" +b -t4 7 -c 160000 +forward +backward +geom meter material_testrad001.rad testrad001.rad> myBSDF_t4_test.xml
When i run genBSDF with a fairly simple geometry the output is "Recover using <filepath>". When i run the recovery file, then i'm getting this error:
rcontrib: fatal - cannot recover ASCII output Failure running rfluxmtx at C:\radiance\bin\genBSDF.pl line 357.
Any clues what this may be?
Edit:
Got rid of this error by calling the perl script directly (I have strawberry Perl installed):
SET RAYPATH=.;c:\radiance\lib
PATH=%PATH%;c:\radiance\bin
::Merging the two honeybee rad files
copy material_testrad001.rad+testrad001.rad testrad001combined.rad
genBSDF.pl -r "-ad 1000 -ab 1" +b +geom meter testrad001combined.rad > myBSDF_klems.xml
pause
Now it runs for a while and then outputting errors:
C:\ladybug\BSDF_test\testrad001\MSH2RADFiles>genBSDF.pl -r "-ad 1000 -ab 1" +b +geom meter testrad001combined.rad 1>myBSDF_klems.xml wrapBSDF: only one XML input allowed Usage: wrapBSDF [-W][-c][-a {kf|kh|kq|t3|t4}][-u unit][-g geom][-f 'x=string;y=string'] [-s spectr][-tb inp][-tf inp][-rb inp][-rf inp][-C comm] [input.xml] Could not wrap BSDF data
Any clues why this may be? I was guessing regional/formatting settings but i might be completely wrong.
I tried the "simple mirror" example from Greg from here, and that worked fine, so guess my installations and path etc should be OK. https://www.radiance-online.org/commu...
I've attached all my working files here: https://www.dropbox.com/s/lzechie85p9...
Screenshot of setup in HoneyBee: https://www.dropbox.com/s/ejroqgoufw1...
Thanks very much - hopyfully more people get a hang of combining HoneyBee with BSDF generation.
/Mathias Sønderskov Nielsen
A better place to post this question is Radiance forum: https://discourse.radiance-online.org/