Grasshopper

algorithmic modeling for Rhino

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?

Views: 568

Attachments:

Replies to This Discussion

You can use a smaller than component. Works for me
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

thx martin, great hint!

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