Grasshopper

algorithmic modeling for Rhino

Hello,

Im trying to sample brightness values out of an image, at specific points.

The points on the divided curve in the image attached are located in the variable "points", which connects to the image sampler component.

I want to manipulate each point, based on the brightness value it samples from the image, but the image sampler doesnt return a list, only float or color, although the panel shows all the values (as if its a list).

any way to get a list?

Im using grasshopper python.

Thank you, Daniel.

Views: 498

Replies to This Discussion

Eh. Solved. it was very simple and stupid. if anyone strugles with it... just right click the variable and choose "list access".

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