Grasshopper

algorithmic modeling for Rhino

Extracting Curves from UV coordinates of a surface

I'm trying to extract the UV curves from a surface, however I many more curves than I require.  For example on a surface that is divided in the UV by 6 by 6, I get 36 curves in the U direction and 36 in the V direction, however all I want is 6 in the U and 6 in the V directions.

I've attached the grasshopper file for all to see how i've attempted to tackle this ..

Thanks so much

Views: 6086

Attachments:

Replies to This Discussion

from the divide surface, feed the P output to a polyline. (not the UV output - UV is the parametric coordinates which are 0-1, not the points.) you should then get one set of curves.

Using a path mapper, map the P output, the operation should be something like
source: {A;B;C}(i)
target: {A;B;i}(C)

Then feed such output to a polyline to get the other curves.

Note also, in your definition, you feed a plane to the Divide surface, which is not a normal operation, you should feed a surface to it.
Thanks Victor,

very helpful indeed, and ofcourse easier than I thought. And thanks for the tip about the plane vs surface.

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