Grasshopper

algorithmic modeling for Rhino

How to make recursive process with Python ?

I plan to make a loop by connecting Honeybee's componet.

The diagram would be like this.

I hope that it's technially possible.

But, at first I need to solve recursive error  "1. Recursive data stream found, this component depends on itself".

I know why this happens but don't have no idea.

And I also know some of existing post about this problem on Grasshopper  forum but there has been not usefull solution yet.

thank you for your helping.

Views: 2026

Replies to This Discussion

To Mostapha,

I try to simulate daylight using Honeybee.

Thank you for your detail example.

Now I can start my project.

Thank you !

If it's not an annual analysis and if the geometries are planar (we can actually address this one if necessary) then, in theory, you should be able to use the new library and run the analysis inside your code. Check this code. You can find an example file under test.

To Mostapha

Thank you for your further information.

I will not use annual simulation and make planar Geometry.

I plan to make a louvre or facade consisted of tiny elements of geometry and then they try to find best geometry(like size, position)to fulfill certain daylight(lux or cd/m2).It is kind of optimization of daylight.
I will use Multi-Agent System to achieve this process.
So each agent makes a geometry to fulfill under the circumstances. In my case, it is daylight.
I have already finished making scripts of MAS(Geometry), daylight simulation.
Things I left now is to combine these two programs.

Anyway, I received a few of good ideas from everyone.
I will try one by one.
Your code seems to be used for my project right now. I try this at fist if i can.

Thank you so much.

yohei

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service