algorithmic modeling for Rhino

hamia Aghaiemeybodi
  • Male
  • Stockholm
  • Sweden

Hamia Aghaiemeybodi's Friends

  • Sara Namdarian
  • Zohaa Irshad
  • pirooz
  • Mojgan
  • Weihao Liang
  • Örn Erlendsson
  • Kayrokh Moattar
  • Ali Mahabadi
  • Alireza Memarian
  • Sonja Krneta
  • Polina Arendarchuk
  • patric guenther
  • Negar
  • morteza alinaghi pour
  • Peyman Poostchi

hamia Aghaiemeybodi's Groups

hamia Aghaiemeybodi's Discussions

Object name
2 Replies

Guys Anyone knows how to extract rhino object name with python grasshooper?ThanksContinue

Started this discussion. Last reply by hamia Aghaiemeybodi Oct 21, 2015.

convert c# to python
10 Replies

Hi,Does anyone know what's the equivalent code python for this:var te = RhinoDoc.ActiveDoc.Objects.AddText(content, pl, size, face, bold, italics);Rhino.DocObjects.TextObject txt =…Continue

Started this discussion. Last reply by hamia Aghaiemeybodi Feb 2, 2014.

make a new datatree and new brachPath in python
2 Replies

Hi Steve,Do you have any idea how can i make a new datatree with new brachPath in python grasshopper! . . . Thanks,Continue

Started this discussion. Last reply by hamia Aghaiemeybodi Feb 20, 2013.

sort curves
2 Replies

Hey guys, any idea how to sort a list of curves in python? key is X value of start point.It seems python in grasshopper doesn't support AddTextDot. . . any solution!!!THX,Continue

Started this discussion. Last reply by hamia Aghaiemeybodi Feb 19, 2013.


hamia Aghaiemeybodi's Page

Profile Information

Company, School, or Organization
Web or Blog

hamia Aghaiemeybodi's Photos

  • Add Photos
  • View All

Comment Wall (10 comments)

You need to be a member of Grasshopper to add comments!

Join Grasshopper

At 8:01am on October 10, 2016, Arpan Bakshi said…

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

At 1:37pm on November 18, 2014, Anders Holden Deleuran said…

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:

At 3:25pm on October 13, 2014, Anders Holden Deleuran said…

Hi Hamia, missed your post the other the day. Did you check out the Surface.IsCylinder() method? Looks like it should do the trick :)

At 6:40am on January 29, 2014, Anders Holden Deleuran said…

Not sure what happened to the reply I posted yesterday. Looks like you figured out..

At 7:54am on January 28, 2014, Anders Holden Deleuran said…

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..

At 7:38am on March 6, 2013, Anders Holden Deleuran said…

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.

At 4:13am on February 28, 2013, Anders Holden Deleuran said…

Cool, glad that you managed to fix it. Guess you were feeding a RhinoScriptSyntax function something it didn't like :)

At 6:35am on November 30, 2011, Jeff Niemasz said…

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.

At 6:51am on November 22, 2011, Jeff Niemasz said…

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:


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.

At 5:54am on November 21, 2011, to] said…

take a look here:

Fabian Posadas has wrote a LUA component....



Search Grasshopper


  • Add Photos
  • View All

© 2017   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service