First I would check over the video tutorials. If you have saved your rhino file with a name (no spaces) and run a daylight factor using the diva for rhino toolbar (the 1.9 version one- delete the old one), then you should have a folder with the needed analysis files here:
C:\DIVA\Temp\YOUR_RHINO_FILE
When you open grasshopper within the rhino file you are working with, it is checking this folder for the needed analysis files. These vary by the type of analysis, so check the "metric" panel on the component and select daylight factor. Let me know if this helps or if you are still getting the error even with the correct analysis files in the temp folder.
Hi Hamia, you will find the material library file at C:\DIVA\Daylight\material.rad. It is a text file, you can add as many custom materials here as you like following the Radiance format. There is a short description on creating your own radiance materials on our wiki. The names you give the materials in the description will then show up using the material component in grasshopper.
Haha, it's magic! Sorry for not responding sooner, just got back from London and Copenhagen. You can always use the Python function type()to check if your geometry is of the correct type. It's pretty handy. Also, you could use to add a conditional check before the split curve function. This way it is easier to narrow down where the problem is.
I have attached a file I had laying around, can't remember who wrote it I'm afraid. It demonstrates how to use the use the RhinoCommon classes and methods in your script using Python. I think there was a thread with a single line font stroke somewhere here on the board. Hope that helps.. textToCrv.gh
to]
take a look here:
http://www.grasshopper3d.com/video/gecoradiance-1
Fabian Posadas has wrote a LUA component....
Nov 21, 2011
Jeff Niemasz
Hi Hamia,
First I would check over the video tutorials. If you have saved your rhino file with a name (no spaces) and run a daylight factor using the diva for rhino toolbar (the 1.9 version one- delete the old one), then you should have a folder with the needed analysis files here:
C:\DIVA\Temp\YOUR_RHINO_FILE
When you open grasshopper within the rhino file you are working with, it is checking this folder for the needed analysis files. These vary by the type of analysis, so check the "metric" panel on the component and select daylight factor. Let me know if this helps or if you are still getting the error even with the correct analysis files in the temp folder.
Nov 22, 2011
Jeff Niemasz
Hi Hamia, you will find the material library file at C:\DIVA\Daylight\material.rad. It is a text file, you can add as many custom materials here as you like following the Radiance format. There is a short description on creating your own radiance materials on our wiki. The names you give the materials in the description will then show up using the material component in grasshopper.
Nov 30, 2011
Anders Holden Deleuran
Cool, glad that you managed to fix it. Guess you were feeding a RhinoScriptSyntax function something it didn't like :)
Feb 28, 2013
Anders Holden Deleuran
Haha, it's magic! Sorry for not responding sooner, just got back from London and Copenhagen. You can always use the Python function type() to check if your geometry is of the correct type. It's pretty handy. Also, you could use to add a conditional check before the split curve function. This way it is easier to narrow down where the problem is.
Mar 6, 2013
Anders Holden Deleuran
I have attached a file I had laying around, can't remember who wrote it I'm afraid. It demonstrates how to use the use the RhinoCommon classes and methods in your script using Python. I think there was a thread with a single line font stroke somewhere here on the board. Hope that helps.. textToCrv.gh
Jan 28, 2014
Anders Holden Deleuran
Not sure what happened to the reply I posted yesterday. Looks like you figured out..
Jan 29, 2014