Analysis / Dynamic Feedback between Grasshopper and Radiance with DIVA:
DIVA Installation:
- Download the installer for the DIVA plug-in for Rhino and Grasshopper at diva4rhino.com
DIVA Tutorial Files:
Right-click links and select “Download linked file” or “Save link as”
- Irradiation on Surface Analysis
- Example Component System
- Component System driven with Irradiation Analysis
- Analysis of Variable Geometry
Batch download all files here (ZIP format).
Grasshopper and DIVA 1: Surface Irradiation Analysis / 11:28 min
Using a prepared definition, run an analysis on the UV grid of a surface and then apply that data to the variation of a component system.
Grasshopper and DIVA 2: DIVA Analysis of Variable Component Geometry / 11:00 min
Using a prepared definition, analyze the shading effect of variations in component geometry.
March 12, 2010 at 2:45 am
Hello,
Iwas testing on grasshopper 6.0043 the definition:
01_RadianceOnUVGridSurface
When setting the Run toggle to “True.” appears a message:
Grasshpper breakpoint
An object expired during a solution.
Do you think this a problem due to my version of grasshopper?
March 16, 2010 at 9:10 pm
Hi there,
This is great stuff, I’ve been looking to do something similar to what you did in tutorial 7 and this just demonstrates it perfectly. One problem I have though, I’ve followed every step here and for some reason I keep getting ‘Microsoft VBscript run time error’, ‘Subscript out of range ‘[Number:0]‘ Line 139, Char:1. Not idea what this means – basically i don’t get any gradient colours or anything. nothing happens. I’m using Rhino 4 Sr6 by the way. I had Sr4 I think previously but couldn’t install radiance as it said i needed the latest version of rhino. I’ve tried everything, and I’m verging on desperation. Would really appreciate any advice. Thanks in advance! It would save my life!
March 22, 2010 at 1:37 pm
I often get this error, and it doesn’t seem to effect the results – are you able to get the radiance analysis working despite this error?
March 24, 2010 at 6:32 am
No, I don´t.
March 24, 2010 at 12:44 pm
No radiance analysis. The same message as Ron.
‘Microsoft VBscript run time error’, ‘Subscript out of range ‘[Number:0]‘ Line 139, Char:1.
I’m using Rhino 4 Sr7.
grasshopper 6.0059
I´ve installed radiance.
March 24, 2010 at 6:41 pm
Are you certain you have both radiance and the radiance plug-in correctly installed? If you are still struggling feel free to send your file to adh65@cornell.edu and I will do my best to sort it out.
March 26, 2010 at 1:41 pm
hey guys i got the same error message
and it seems that the program is finally not launched correctly
while installing radiance i have to give in an auto cad foleder .
is this important ? rhino writes Firing up Radiance and than nothing seams to happen . ps. using 64 bit system
thx in advance
chris
June 27, 2010 at 4:26 pm
Hi Chris –
If Radiance installed properly, there should be a folder called “Radiance” at the root of your C: drive containing four folders (bin, doc, lib, and obj) – if it is not there try locating the installed folder and moving it there or reinstalling. If it is there, it’s likely the problem has something to do with using a 64-bit system – the tool has never been tested on a 64-bit system before.
Hope that helps!
Andrew
P.S. I’ve followed your blog for a while – beautiful work!
July 10, 2010 at 4:15 pm
Hi everyone,
I was also testing the definition 01_RadianceOnUVGridSurface but it seems that I have the same problem as Ron… I keep getting ‘Microsoft VBscript run time error’, ‘Subscript out of range ‘[Number:0]‘ Line 139, Char:1. I am using Rhino4 SR6 and grasshopper 0.6.0059. I checked and both Radiance and radiance plug-in are successfully installed. Did someone manage to solve the problem?
thanx
aurelie.
July 11, 2010 at 8:35 pm
Hi All -
I haven’t been able to reproduce the VBscript error – but I’ve poked around in the code to guess where it might come from. It looks like it is either that the test surface is not a mesh, or has not been inputted properly. This could also happen if another input is out of whack and the radiance simulation fails and the program then goes looking for results. I would look closely at the input geometry – make sure it is connected properly and that it is a triangulated mesh. If you still have problems, send me an example file that fails and I’ll take a closer look.
cheers
Dave Bosworth
Pingback: Tweets that mention Tutorial Set 4 | ADAPTIVE COMPONENT SYSTEMS -- Topsy.com
November 28, 2010 at 8:41 pm
First I’d like to thank you for these amazing tutorials and tools.
But I’ve been trying to run the 01_RadianceOnUVGridSurface file and with no success, Dave mentioned checking the input geometry for being a mesh and I can see this step is already automated although the final mesh inputed to the rhino2rad component isn’t triangulated, it’s a quad mesh!!!
don’t know if this is the problem.
But before the vbsccript error as mentioned above another error from grasshopper appears “Grasshopper break point-an object expired during solution” accompanied with a long list of “method and file”
and this is what shows in rhino command line during the analysis
Firing up Radiance
End of RadExporter
Command: _Rhino2RAD_rtace_byPoint
Rhino2RAD point import – directory: : “C:\R2r\”
Rhino2RAD point import file: “R2rTestPoints.txt”
Rhino2Rad point export file: “modelname_8_3_7.0_42.5_76.5_10x61.0.txt”
folder exists: C:\R2r
fileNameIn exists
fileNameOut not found
X: -0009.1079 Y: -0004.4309 Z: 0000.0000 VecX: -00.8160 VecY: 00.3520 VecZ: 00.4584
Running rtrace: rtrace -h -I+ -ab 2 “C:\R2r\R2rTestPoints.oct”
Command: _Rhino2Rad_Clear_and_Init
Command: _Rhino2Rad_octree
Rhino2Rad_octree directory: “C:\R2r\”
Rhino2Rad_octree file name: “R2rTestPoints.txt”
Rhino2Rad_octree month: 8
Rhino2Rad_octree day of month: 3
Rhino2Rad_octree decimal hour: 7
Rhino2Rad_octree decimal latitude: 42.5
Rhino2Rad_octree decimal longitude: 76.5
Rhino2Rad_octree vertical resolution: 400
** NOTE: no meshes found in R2Rad_Site Layer **
1 meshes found
mesh 1 exporting to rad file, please wait
Finished Exporting Geometry .rad file to – C:\R2r\R2rTestPoints.rad
Finished Exporting Geometry .rad file to – C:\R2r\R2rTestPoints_mat.rad
view camera target collected
View camera lens collected
Finished Exporting .rif file to: C:\R2r\R2rTestPoints.rif
Finished Exporting Sky Definition .rad file to: C:\R2r\R2rTestPoints.rad
Firing up Radiance
End of RadExporter
Command: _Rhino2RAD_rtace_byPoint
Rhino2RAD point import – directory: : “C:\R2r\”
Rhino2RAD point import file: “R2rTestPoints.txt”
Rhino2Rad point export file: “modelname_8_3_7.0_42.5_76.5_6x6.txt”
folder exists: C:\R2r
fileNameIn exists
fileNameOut not found
X: -0006.6551 Y: -0001.0996 Z: 0001.9071 VecX: -00.3516 VecY: 00.7836 VecZ: 00.5122
Running rtrace: rtrace -h -I+ -ab 2 “C:\R2r\R2rTestPoints.oct”
September 19, 2012 at 8:16 am
Hi.
Great tutorial. Does anybody know if it is possible to set a certain time for finding the solar irradiation?
Also if I do it for one day, I get outputs from the DIVA daylight components consisting of 0, 1 and 2. It seems strange. Maybe it has to do with the output units?
September 21, 2012 at 5:38 am
Hi.
Great tutorial.. But why haven’t you added a window to the model? I mean chosing material, G-value ect?
Cheers Rasmus
October 15, 2012 at 5:35 am
Amazing tutorial… I have been looking forward to be able to do this. I tried to apply this to several surfaces at the same time but I didn’t succeed. If you select several surfaces, it won’t make the subdivision. Any solution to this? thanks!
April 24, 2013 at 2:40 pm
Hi, and thank you for this useful tutorial … I faced a problem while doing the “Analysis of Variable Component Geometry” tutorial … when I run the difinition by setting the boolean to “true”, it seems that the process doesn’t consider the GM of the Variable Shading Surface as an input for the “Diva Daylight” component, I mean it doesn’t make any difference if I set the GH of the Enclosure as the only input, or I add output of the GM component of the Variable Shading Surface (the one that is resulted from converting the “Component Geometry” to mesh) …
I’m using GH 0.9.0014
Rhino 5.0 x64
Diva for Rhino 2.0.1.3 (Trial)