Grasshopper

algorithmic modeling for Rhino

Hello,

I am duplicating 61 elements in order to get 122 elements. (later I will do will more than twice bigger list of elements.)

Then I want to split this list by path mapper after every 61th element.

I searched grasshopper earlier questions with mine and tried to write introduce path mapper to my script. But path mapper did not work, or I made a mistake, as I get wrong list?

The result should be data in with only two branches, and every branch should have 61 elements equally.

What went wrong?

Thanks in advance.

Views: 964

Replies to This Discussion

Why not use the [Partition List] component to achieve this?

--

David Rutten

david@mcneel.com

To learn how to use the path mapper:)

Use integer divide "\" instead of division "/"

I used 23 instead of 61, but the logic should hold.

--

David Rutten

david@mcneel.com

Thanks:) So that was about integer... :)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service