Grasshopper

algorithmic modeling for Rhino

Hi, I have a list which contains a variable X times 6 points. I want to make polylines with every time 6 points out of the list, but they're in the wrong order. I want to make a polyline with the six points 0, X-1, (2*x)-1, (3*X)-1, (4*X)-1, (5*X)-1 and then

1, X, (2*x), (3*X), (4*X), (5*X)

2, X+1, (2*x)+1, (3*X)+1, (4*X)+1, (5*X)+1

and so on till

5, X+4, (2*x)+4, (3*X)+4, (4*X)+4, (5*X)+4

How can I do this best?

 

Thanks,

 

Niels

Views: 292

Replies to This Discussion

I'm not certain if I've understood your notation correctly, ie. if that first value in each group is an index or a constant Y value.  I've assumed it is a Y value.

 

Chris

Attachments:

It's a Y value, yes, thank you very much Chris!

 

Niels

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service