Grasshopper

algorithmic modeling for Rhino

Hello everybody,

 

I've a simpel script, as you can see below. The output of the List Insert component does not give the desired result.
The desired result should be:

0.0 ; 1.0 ; 2.0 ; 3.0 ; A ; B ; C ; D ; 4.0 ; 5.0 ; 6.0 ; 7.0 ; 8.0 ; 9.0 

Is this possible? I'm running grasshopper version 0.8.0051.

 

The script is a simplification of an other script. I want to order two lists, as a result of a dispatch component, in a different way.

 

Thanks in advance,

 

Wessel

Views: 511

Replies to This Discussion

Thanks Systemiq, it think that this will bring me a step further.

I'm satisfied! Thanks again.

This was actually deserving more explanations:

if you give a list of locations and a list of items to insert in these locations, the insertion is made sequentially, that means the component first takes the first item and the first location, inserts it at given location and changes list indexes, then it takes the 2nd item and 2nd location, it inserts in the list changed by the first insertion, etc, which explains the results you got.

Thanks for all the effort, much appreciated! I understand it now.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service