Kangaroo

THIS FORUM IS NO LONGER ACTIVE. PLEASE POST ANY NEW QUESTIONS OR DISCUSSION ON:

https://discourse.mcneel.com/c/grasshopper/kangaroo

The discussions here are preserved for reference, but new questions posted here are likely to go unanswered.

Kangaroo is a Live Physics engine for interactive simulation, optimization and form-finding directly within Grasshopper.

problem with counter-based evaluate

Hello everyone,

I build a Boolean-switch based on a counter from Kangaroo 1+ GH component evaluate.

The idea is that the switcher turn on/off when the counter value reach a certain threshold.

GH definition loaded.

It supports to be like this:

0-20      : true

from 21 : false

but this is what I get:

0-1        : true

2-10      : false

11-20    : true

from 21 : false

I have no clue what is happening to value 2-10?

Even trying component ‘expression’ the problem still the same.

Does anyone know where the problem is?

  • up

    Martin Siegrist

    You can use a smaller than component. Works for me
    • up

      Martin Siegrist

      Or you stick with the evaluate component and the expression would be very simple:

      This editor really doesn't like my input

      x smaller than y
      1