Grasshopper

algorithmic modeling for Rhino

i'm trying to replicate the "grid cell centers" output on the RecGrid for an irregular 4-sided polygon using the uvs of a surface and was wondering how to replicate this as efficiently as possible.

Views: 462

Replies to This Discussion

1. Use the 'divide interval2' component to get a set of 2d intervals that correspond to each cell.
2. Decompose the interval using the 'interval2 components' component.
3. Find the UV midpoint of each cell using a formula: {(u0+u1)/2,(v0+v1)/2,0}

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service