Grasshopper

algorithmic modeling for Rhino

hallo People,

I am trying to get a diagram from several formulas. Attached is only first steps of a huge process.

Input 1 has several numbers and input 2 with one input. The output for both input is the same! how can have several output if i have several inputs (each input has its own output). I couldn't manage to make it. any hint?

The output is highlighted in green. The problem is highlighted in RED

Thanks in advance!

j

_input_1.gh

_input_2.gh

Views: 1161

Comment

You need to be a member of Grasshopper to add comments!

Comment by nass on February 22, 2013 at 10:32am

It works with Graph! thanks a lot

Comment by David Stasiuk on February 22, 2013 at 5:36am

Hi nass...usually questions are posted in the discussion forum rather than as a blog post, so you might want to move this over there.

If I understand your question correctly, you want to cross reference your two lists so that you get a unique output for every combination of inputs.  In this case, you are looking at having x and z be multiple variables.  There are a number of ways you can do this, and it all really depends on how you want your data organized in the output.  Take a look at these three approaches...one uses the cross reference component, and it creates a single list.  The next two use graft, one grafting the x value and the other the z value.  You can see how these output lists are organized.

If you want to understand data structure better, you should take a look at these discussions:

http://www.grasshopper3d.com/forum/topics/data-tree-examples

http://www.grasshopper3d.com/forum/topics/path-mapper-help-1

Good luck!

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service