Grasshopper

algorithmic modeling for Rhino

how can i change the numerical indexes of "data items" in each "data path" in a tree structure?

i know "shift list" component,but i want to change that customizingly.

Views: 787

Replies to This Discussion

Typically you'd sort the items using custom key values.

What is the algorithm you use to determine the new order?

--

David Rutten

david@mcneel.com

For example , I dont have any idea for drawing a polyline passing through the corresponding points in the following circles.

I should manipulate the indexes of data items in tree structure and I dont know what algorithm should be used.

thank you.

I'd sort all the points using a single base circle, then flip-matrix and create polylines (see attached).

--

David Rutten

david@mcneel.com

Attachments:

thank you David, but I am talking about an extensible algorithm similar to "path mapper" component . I have face with this problem frequently, and it could be so better penetrating to data tree structure for modifying indexes of data items.Maybe it is not possible for algorithmic drawing.what is your solution for this problem Mr Rutten?

Possibly [Relative Item]? Its an old example but you get the idea

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service