Grasshopper

algorithmic modeling for Rhino

Hi, I have a small problem, I ran in before:

 

I have a list, lets say of points, and I want to figure out the distance between each oint in the list and the next point in the list. Sounds pretty simple, I though I take the original list, shift it by 1 and calaculate the distance between the points in the first list and the points on the second list. doesn't work. I tried weaving the two lists back together / cull pattern, nothing worked.

I always end up with the distance between one point and all the other points or smoething similar, but not the distance between the point I want ...

any ideas?

 

many thanks,

Peter

Views: 211

Replies to This Discussion

You need to look at the data structures. Can you post the ghx/3dm with the lists?
Hi Danny,

thanks for your reply, see defition and rhino files attached...
thanks,
Peter
Attachments:

Hi, i have a similar problem, did  find a way of doing it?

 

Thanks

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service