Grasshopper

algorithmic modeling for Rhino

What is the reason that items  can be divided as true but not false in a list by using dispatch?

Views: 2516

Attachments:

Replies to This Discussion

Hi Deniz

Try this!

Attachments:

Although I don't really understand what are you trying to do, but, you need to flatten the list before plugging it into dispatch or generate a custom pattern based upon the same data structure of the points. The same goes for the vectors you generated; if you need to move them.

By the relationship between the data structures and number of elements.

Because you are using a tree and a list on inputs with access of type list and list. So, for each branch you are rerunning the component. On each branch, it read the elements and the elements of the boolean pattern. If, for example, you only have an item on the branch, and the first boolean is true, then in the B output will return an empty branch.

If dispatch is to filter True and False..

Then why the output component not labelled as T & F, instead of A & B?

That would be much more self explanatory than having to looked a the output description.

Just saying though..

Correct me if I'm wrong, but I haven't tried other P input (pattern or parameter) other than true or false.

The "P" input is the dispatch pattern. The pattern is True False by default, meaning that the A output has all true elements and the b output has all false elements, however an equally valid pattern could be False True. If the pattern were False True, then the outputs would be reversed.

Here's an image of what I mean:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service