Grasshopper

algorithmic modeling for Rhino

hi everyone!

i am learning python in grasshopper, does anyone know how can i do a recursion with a list of objects?

in this case i am trying to build up a function which orient the second curve to the end point of first, and the third oriented to the end point of the moved curve and so on and so forth.

does anyone have idea how i can achieve this?

best!

Views: 2823

Attachments:

Replies to This Discussion

hey guys,

instead of doing it directly in grasshopper, i did it in the python editor first since there is a debug function, so now i can make it loop, but seems the condition i set didn't work so that it is just keep looping, and i have no idea why it is only taking the second curve.

any ideas of improvement from you?

best

Attachments:

well at last i figure it out...

Attachments:

well, well,then i found problem when transfer it into grasshopper.

Runtime error (PythonException): unable to create valid planes from point lists.

does anyone can help fix the script?

Attachments:

Hello everyone,


I have the same problem to integrate this script in Grasshopper. And another problem that I could not solve is the overlap of the segments. Is there somebody who can lead me to in order to complete the script.

I would be very grateful for help.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service