Grasshopper

algorithmic modeling for Rhino

Hi everyone

Now that data matching is performed by components it should be easier to implement loop and ping-pong matching.

given two lists

a: {a;b;c;d;e;f;g;h}

b: {1;2;3}

The first one (loop) would behave like this:
{a1;b2;c3;d1;e2;f3;g1;h2}

The ping pong matching would behave like this:

{a1;b2;c3;d2;e1;f2;g3;h2}

with a boolean option it could repeat the first and last like this:

{a1;b2;c3;d3;e2;f1;g1;h2}

If this already exist please let me know

Thanks

bye

Views: 424

Replies to This Discussion

they are called wrap and flip on the longest list component in version 0.9+

Danny

That's exactly what I was looking for.


Thanks

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