Grasshopper

generative modeling for Rhino

hamia Aghaiemeybodi
  • Male
  • stockholm
  • Sweden
Share on Facebook
Share Twitter

Hamia Aghaiemeybodi's Friends

  • Polina Arendarchuk
  • patric guenther
  • Negar
  • morteza alinaghi pour
  • Peyman Poostchi
  • Gustav Nordström
  • alessandra
  • navidhatefnia
  • MARIA MINGALLON
  • Angel Quintana
  • Shirin Jafari
  • Shahab Din
  • Amir Pourmoghaddam
  • Emma Berggren
  • Jonas Haraldsson

hamia Aghaiemeybodi's Groups

hamia Aghaiemeybodi's Discussions

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.

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.

write CSV file in python
6 Replies

Any idea how can i export points as a .csv file from grasshopper,python component!!!! . . .Thanks,Continue

Started this discussion. Last reply by Mostapha Sadeghipour Mar 5.

data tree

i'm trying to make a data tree out of a list of points, is there any vb scripting tutorial which can help me? . . . thanksContinue

Started Apr 19, 2011

 

hamia Aghaiemeybodi's Page

Latest Activity

Anders Holden Deleuran left a comment for hamia Aghaiemeybodi
"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…"
Mar 6
Anders Holden Deleuran left a comment for hamia Aghaiemeybodi
"Cool, glad that you managed to fix it. Guess you were feeding a RhinoScriptSyntax function something it didn't like :)"
Mar 6
Mostapha Sadeghipour replied to hamia Aghaiemeybodi's discussion write CSV file in python
"is it a csv file? I haven't tested the code but something like this should work for you: filename = open(yourFileAddress, 'r') for lineNumber, line in enumerate(filename):            print lineNumeber…"
Mar 5
Kendra byrne replied to hamia Aghaiemeybodi's discussion write CSV file in python
"True. Has anyone found a workaround in python for this? I'm trying to read a file line by line, essentially look up a line in a file by its line number."
Mar 5
hamia Aghaiemeybodi replied to hamia Aghaiemeybodi's discussion make a new datatree and new brachPath in python
"Wonderful ... Thanks..."
Feb 20
Anders Holden Deleuran replied to hamia Aghaiemeybodi's discussion make a new datatree and new brachPath in python
"See this thread over on the Rhino.Python forum."
Feb 20
hamia Aghaiemeybodi posted discussions
Feb 20
hamia Aghaiemeybodi replied to hamia Aghaiemeybodi's discussion sort curves
"Thx,I did something like this: def midPointX(crv):    domain=rs.CurveDomain(crv)    midpoint=rs.EvaluateCurve(crv,(domain[0]+domain[1])/2)    return (midpoint.X*100) a=sorted(curves,key=midPointX) and its working…"
Feb 19
Steve Baer replied to hamia Aghaiemeybodi's discussion sort curves
"http://wiki.python.org/moin/HowTo/Sorting/ Assuming that your input is a list a curves named 'curves'... sorted_curves = sorted(curves, key=lambda a: a.PointAtStart.X)"
Feb 19
hamia Aghaiemeybodi replied to hamia Aghaiemeybodi's discussion write CSV file in python
"Mersi mard, It's working. thanks a lot."
Feb 15
Toussaint Jimenez Rojas replied to hamia Aghaiemeybodi's discussion write CSV file in python
"the CVS build-in Library doesnt work for IronPython wich is the version of python that run under Rhino 5 "
Feb 14
Felix R. replied to hamia Aghaiemeybodi's discussion write CSV file in python
"There is also a build-in library in Python for that: http://docs.python.org/2/library/csv.html"
Feb 14
Mostapha Sadeghipour replied to hamia Aghaiemeybodi's discussion write CSV file in python
"Salam... Something like this should do it: "
Feb 14
hamia Aghaiemeybodi posted a discussion

write CSV file in python

Any idea how can i export points as a .csv file from grasshopper,python component!!!! . . .Thanks,See More
Feb 14
hamia Aghaiemeybodi commented on Charles Aweida's video
Thumbnail

ping ultrasonic sensor driving parametric aperture

"Hi, I'm new to firefly and im trying to use an ultra sound ping sensor the same as the one you use here, but i cant manage to use firefly getting the result in grasshopper. just in arduino i get it. any suggeston! thanks."
Oct 6, 2012
morteza alinaghi pour liked hamia Aghaiemeybodi's photo
Aug 17, 2012

Profile Information

Company, School, or Organization
White-Dsearch
Web or Blog
http://www.white.se

hamia Aghaiemeybodi's Photos

Loading…
  • Add Photos
  • View All

Comment Wall (5 comments)

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

Join Grasshopper

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:

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.

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

take a look here:

http://www.grasshopper3d.com/video/gecoradiance-1

Fabian Posadas has wrote a LUA component....

 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2013   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service