Grasshopper

algorithmic modeling for Rhino

Hi,

I tried to array a geometry rectangular and scale the geometry based on an image. What I don't understand is, that the orientation of the image and the arrayed objects don't match. See attached example. Could someone explain me, what I´ve done wrong?

thanks,

Detlef

Views: 1690

Attachments:

Replies to This Discussion

Just looking at the picture I think its because of data structure. The Rectangle Array produces a list of flattened copies of the spheres. If I remember right, then 0 is the bottom left corner and it then goes left to right. The rectangular grid is grafted and if I remember right it goes from top left and then goes down, so each list contains one column of elements.

So I think you can just try to add a Flip Matrix between RecGrid and the image sampler, so the data is not in coloumns but in rows. You might need to reverse the list as well. But a combination of those 2 should work.

The flip matrix helped perfectly.

Many thanks for your help

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