Grasshopper

algorithmic modeling for Rhino

Hallo everyone,

i wanna get  solar panels rotate some like  image1.

 if i do the rotate with a photo, some like with image2, the red Pixel are big rotate angle, yellow are small angle, how can i do it with the "image sampler component" ?

can someone help me?

thank you a lot!

Views: 478

Attachments:

Replies to This Discussion

Here's a definition I did awhile back that might help. It uses the LunchBox plugin, so if you don't have it installed, you'll want to get it before opening this.

The most important thing to note is that the surface is reparameterized so that the Image sampler X and Y domain can be left at 0.0 To 1.0. If you didn't do this, you'd have to manually set the X and Y to whatever the U and V domains are for your surface.

Attachments:

And here is your definition, simplified and mostly working. I used a different image, but just swap it back to yours. Note that you should use an image that encompasses the entire circumference of your panels.

Attachments:

Damon, great! thank you very much!!!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service