Grasshopper

algorithmic modeling for Rhino

I want to reorient a profile, in two diferent ways. Is there I tool which I can use to switch between two blocks. A better explanation would be: I am connecting to different orientation planes to an orient tool, but I want to be able to choose for one plane or the other, with a two state switch or toggle. Any ideas? I think it is an easy problem for the boolean gates like or ,and,xor...  but I would like to know if there is a tool for this. 
kind regards

Views: 1192

Replies to This Discussion

There are two components needed for this. Boolean Toggle found in Param>Special and Stream Filter found in Sets>Tree. If you are ever sure whether a component exists or cannot locate it use the Keyword search feature by double clicking the canvas and entering a word such as Gate or Toggle and see what happens.

.
Please note that there are other ways to achieve this in GH such as cull patterns and boolean logic but this is by far the most straight forward, although it is limited to only one input to the Gate i.e. if you have lists as inputs you get all of 0 or all of 1 you cannot pick and choose from multiple lists. Also right clicking on the component gets you to the input manager where you can add more streams.
If you do need multiple values for the switch, you can use the new Pick'n'Choose component.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service