Grasshopper

algorithmic modeling for Rhino

# size determined diamonds on surface

Hi

Im trying to create two families of curves along a surface that create a diamond pattern. Diamonds should be all the same size, or close to, so uv divisions doesn't seam to work.

After looking around some similar problems in the forum and trying a few different approaches the best way I found to solve (if someone can figure out an easier way it will be welcome) it is to draw equidistant isocurves in one direction (maybe they could be contour lines...) and then length divide the isocurves.

That gives me the group of point I need, but then I should draw a curve on the surface from the 1st point of the 1st isocurve, to 2nd on 2nd, 3rd/3rd,.....another curve from 2nd on 1st, 3rd/2nd, 4th/3rd,.... and so on.

I didn't make it to group the points that way, I just achieved to get the 1st group and when I tried to make a curve on the surface with that points I doesn't work.

I'm sure it might be something relatively easy to solve for someone familiar with series and tree operations, that's not my case.

Any help will be appreciated, thanks

I draw on rhino few of the curves as an example, from points baked from gh

Highlighted in green the points I managed to isolate

Views: 1248

Attachments:

### Replies to This Discussion

Now I see using divide distance at the surface edge instead of divide length might be a little more accurate, that way the curvature of the edge won't affect to de separation of the isocurves.

the curves on surface issue it's solved seting flatten to the surface control point output. Still didnt know how to group points like:

1;1, 2;2, 3;3.....

1;2, 2;3, 3;4....

1;3, 2;4, 3;5...

....

Attachments: