Grasshopper

algorithmic modeling for Rhino

Hi, I just had a question. 

I'm basically importing a non planar shape into grasshopper and maping a 2d voronoi to this surface.  The problem I'm facing is that I'm originally crating the voronoi on a plane that I create in grasshopper with a certain dimension.   Right now this plane is simply a square, and if the shape im importing into grasshopper is not a square, the voronoi gets stretched when mapped.  Is there someway to get the length and width of the imported surface to enter that into the X and Y of the plane surface component so that it will match better when I map it to it?

Thanks :)

Views: 877

Replies to This Discussion

Thank You!  Any idea about the problem below.  I haven't had the chance to implement the solution above, but will this help with that?  I'm now trying to pass the points from the voronoi through an image sampler so it will work no matter the surface size, so basically matching the image sampler domain 0 to 1.

Anyone?  I may almost have it?  The image domain right now is 0 to 1, how do I get the Populate 2D list of points to also be 0 to 1?  Something like Surface Divide is easy, since it outputs the UV 0 to 1, but Populate 2D doesn't, what do I do??

Attachments:

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