Grasshopper

algorithmic modeling for Rhino

Hi,

Given a list of X ordinates and a list of Y ordinates what is the best way in GH to create the matrix of points that is all combinations of X and Y?

Thanks,

Eric

Views: 1825

Replies to This Discussion

Graft the lists of ordinates into the x and y inputs of a point component I think.

No, that just gives {X1, Y1}, {X2, Y2}, {X3, Y3}....

I want {X1, Y1}, {X1, Y2}, {X1, Y3}...{X2, Y1}, {X2, Y2}, {X2, Y3}...

Eric

how about this:

Hey! That's it.

Thanks,

Eric

alternatively you could graft only the X (or only the Y) input of the point component.

This would give you a better organised output (tree).

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