Grasshopper

algorithmic modeling for Rhino

python problems.. Bouncing agents mirrorObject(lists?! , Branches

I trying to create multiple points/"agents" in different branches to bounce between GH geometries (and later each other) Each point need to have its own branch for later being able to define their individual features.


#1 problem:
I can't make my point bounce correctly (Angle of Incidence = Angle of Reflection) using the mirrorObject( function (line 32 - 35)
Error given in second step/Iteration: "Runtime error (TypeErrorException): Parameter must be a Guid or string representing a Guid"

#2 problem:
Branches in python! :-S I need to change the existing code so I can add multiple agents with different features defined in each list. Any ideas/suggestions how it could be done? 

:-)

(HoopSnake is used in GH file)

Views: 399

Attachments:

Replies to This Discussion

no problem

Attachments:

WTF? .. :-D :-D :-D AWESOME! ..

Thanks for your answer / time.. :-S ..sry

I think I also understand the first problem now, but I'll might ask some similar (stupid) question  in the coming week in this thread. #PythonNoob ;-) 

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