Feedback Loop

5 views
Skip to first unread message

Arpan Bakshi

unread,
Mar 17, 2012, 1:39:31 PM3/17/12
to diva-fo...@googlegroups.com
A question for the DIVA+Grasshopper users out there --

I have not used this since in a while. Is there a way to create a loop by which:

Pseudocode

1. Generate nodes
2. Check radiation values against set max
3. If values exceed setpoint, increase shade depth
4. Repeat steps 1-3 until max allowable radiation level is met


Arpan

Ben Silverman

unread,
Mar 17, 2012, 2:01:03 PM3/17/12
to diva-fo...@googlegroups.com
Arpan,

That sounds like a pretty cool idea. I think you can do step 2 with the inequality grasshoppper components. Step 3 and 4 would be in a scripted component. Depending upon the booleans from the inequality component, you would either change or leave your shading geometry as is according to whether the setpoint was met. At the end of the script component you can set up an output that is a boolean trigger, where if atleast one shading geometry has changed, then the boolean is set to true. That output can then be plugged into the DIVA analysis component Run input. It should run until no geometry is changed and the boolean trigger is false.

Does that sound like what you want?

Ben





Arpan

--
You received this message because you are subscribed to the Google Groups "DIVA for Rhino" group.
To post to this group, send email to diva-fo...@googlegroups.com.
To unsubscribe from this group, send email to diva-for-rhin...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/diva-for-rhino?hl=en.


Arpan Bakshi

unread,
Mar 17, 2012, 2:07:42 PM3/17/12
to diva-fo...@googlegroups.com
I think so, have you seen any example files online which could work as a starting point?


Arpan
Reply all
Reply to author
Forward
0 new messages