Grasshopper

algorithmic modeling for Rhino

Hello.

I want to create an image (poster) out of 45 different images. To be more specific I have 40 (I will probably have 50) images of tree leaves and I am trying to create a 8 by 5 matrix or array (not sure which is the correct term). 

So far I have done it pretty well out of an excel file and Grasshopper. I get the number of the cell and the rgb colour and a text (in my case a pantone). From this set up I can seed in Grasshopper different solutions and then decide which poster I want and from that point manually arrange the images but I wonder if I could create with some programing something like 30 or 40 different posters.

My .gh file is a bit messy even if it is simple. It takes the data from an excel sheet (I attach it), but to simplify it I have internalized the data into the .gh file so hope you can understand what I am trying to do.

So the idea is to get different images such as the ones shown in "Capture.jpg", but with the help of some code instead of manually organizing them.

I am trying with python, but I am not that good yet.

Any idea how could I do this or where should I ask for help?

Thanks in advance.

Javier Zaratiegui

Views: 432

Attachments:

Replies to This Discussion

You can use the Jitter component to randomize the items in a list. Is that what you're looking for, or do you want to create these panel distributions according to some specific ruleset?

That I have already used and it is great. The thing is I don´t know if I can do it with .jpg files.

Hello,

Human plugin has directory contents component and custom preview materials component. With these you can set the directory with the jpeg files and apply them as diffuse map to the surfaces you already have.

best

alex

I am sorry. i did not see this thread is in VB,C# section.

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