Grasshopper

algorithmic modeling for Rhino

Hello David,

Is there a component or process to simply animate a slider without recording Images?

Something similar to TTToolbox Brute Force component but only for one Input Slider.

Thanks,

Dimitris

Views: 4159

Replies to This Discussion

 Try to use Timer and Kangaroo Counter....

If you don't want to use Kangaroo. Then you can construct your own Counter using

[Timer]-->[Int]-->[Data Recorder]-->[Mass Addition]

Where both the size of the integer and the speed of the timer effect steps and rate of increase

Thank you for your replies but those processes continue for ever.

So you can t set a recording for a specific time frame.

Thanks,

Dimitris

of course you can.

I suppose it would make more sense to label it "Play Once"

EDIT: At some point in the counting you will run out of memory but I imagine its a few days

Thank you Danny,

Could you please explain which component is the one connected to the Streem G?

[Value List] if you right click on it you will see a few options one of which is Check List.

Edit: if you haven't used Value list before you Right Click and select Edit and then type your text into the edit window.

For example:

Forever = 0

Play once = 1

Loop = 2

Thanks a lot!

What I See as an Issue with any type of counter that uses Timer, is that the Recorder never stops recording.

So it s very difficult to record a finite amount of data, while the algorithm calculates at every step.

The only thing that seems to work like that is using the slider and just ignore the saved images.

That s why I think it would be great to add to the sliders the ability to just animate without recording images.

Any ideas on that?

Thanks,

Dimitris

Attachments:

Hi Dimitri,

You can also try the following.

Best,

M

edit: if scripted components are ok to use.

Attachments:

Hello Marios,

Thanks for sharing the script!

I don t understand how the iterations work. I set I from 11 to 17 for example, and the t to 7 hoping to get 11, 12 13 14 15 16 17 as A outputs. But I get double numbers with decimals like  15.285714.

Thanks for the help.

Dimitris

I get it. I have 11 and 18 as boundaries and 7 to always add 1

But it doesn t seemt to work with the Loop set to False.

Am I doing something wrong?

Thanks,

Dimitris

Not at all,

I just intended to get floats out of this so I didn't need to check for equality.

Replace the first line of the code with this.

if (Trigger && counter <= t) {

FYI, not tested!! but pretty sure that should be the case.

best,

M.

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