algorithmic modeling for Rhino
I have a relative simple problem (I think) and I have been looking at this forum but not been able to find answer.
I have a slider which controls a simulation. The slider runs from 1 to 8760 (the amount of hours per year). For every hour, I will get another result.
Would it be possible to automate the slider so that it starts at 1 and runs through all the numbers until it reaches 8760? I tried it with Galapagos but haven't managed yet.
Any help is appreciated!
/Jouri
Tags:
There's an Animate option in the slider menu, it's not exactly what you're after, but it's a start.
Another option would be to use the Timer object to keep firing events, then collect these events (for example with a Data Recorder) and count them all. That's also a way to run a simulation over time.
--
David Rutten
david@mcneel.com
Tirol, Austria
There is also another method to execute a series depending on exported output, which is much like David´s second solution.
Thanks for your comments. I solved it now with the 'GENERATION' plugins counter function. In that way, the slider increases with 1 unit every 1 second.
Nice way for counting but I couldn't understand why to subtract 2 from the list length?
Hi,
Im also new to grasshopper,
I am unable to find the counter with the optional counter domain
Hey,
You will need to download the firefly plugin from here.
http://www.food4rhino.com/app/firefly
You will then find the counter component.
You wouldn't know how to invert the counter I suppose?
I.E make it count down...
I can get it to count down, but I want it to start at a number and count down from there.
Cheers
StartNumber - count.
100 - 0 = 100
100 - 1 = 99
100 - 2 = 98
...
With a slider or a panel set a Start number.
Use the subtraction component to subtract the start number with the counter output.
Attached you have a sample using the Peacock timer.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by