Grasshopper

algorithmic modeling for Rhino

Problem statement:

I have a XYZ point. I want its X, Y, and Z coordinates to depend on a certain decision. The user has a choice of 4 decisions: 1,2,3 and 4 using a number slider.

If the user selects decision 1, the point would have XYZ coordinates of (1,0,0)

If the user selects decision 2, the point would have XYZ coordinates of (2,3,0)

If the user selects decision 3, the point would have XYZ coordinates of (0,4,0)

If the user selects decision 4, the point would have XYZ coordinates of (4,0,0)

The following is a picture of how I image the algorithm to be like.

What I'm looking for is the tool that would enable me to do this. 

Can you help me with that?

Views: 367

Replies to This Discussion

You want the stream filter component.

Thank you :)

The Stream Filter component does exactly what you're looking for. It's under the Sets/Tree tab.

Thank you :)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service