algorithmic modeling for Rhino
155 members
551 members
1692 members
12 members
15 members
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by
Comment Wall (10 comments)
You need to be a member of Grasshopper to add comments!
GhPython Workshop coming up this month. Tool developer Chris Mackey is teaching a live webinar titled - Making Your Own Python Components. More information and registration at https://attendee.gototraining.com/42b11/register/4476111114579892225
I've previously used the Python modules xlrd and xlwt for reading/writing Excel files. That said I think I would also consider using the .NET methods available through IronPython. See this link: http://www.ironpython.info/index.php?title=Interacting_with_Excel
Hi Hamia, missed your post the other the day. Did you check out the Surface.IsCylinder() method? Looks like it should do the trick :)
Not sure what happened to the reply I posted yesterday. Looks like you figured out..
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
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.
Cool, glad that you managed to fix it. Guess you were feeding a RhinoScriptSyntax function something it didn't like :)
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.
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.
take a look here:
http://www.grasshopper3d.com/video/gecoradiance-1
Fabian Posadas has wrote a LUA component....