Grasshopper

algorithmic modeling for Rhino

Hi,

I can't understand why, using the same actions in the same order, I'm getting a different Items List orders...

I use 3 open curves to create 3 closed curves.

Set "A" returns a List of closed curved in the same order as the open curves I picked as the input.

Set "B" returns a List of closed curves in a different order.

Any light on this is highly appreciated!  :)

Thank you

Mark

Views: 828

Attachments:

Replies to This Discussion

Join is not an operation which retains list order. The way curve joining works in Rhino is that all curves to be joined are placed in a spatial recursive tree so that we can very quickly find which curves are back to back. If someone selects 50,000 curves and wants to join them we still have to provide an answer in a reasonably short time. But because of this optimization the order in which curves were supplied to the join logic is destroyed and the order of the curves coming out is pretty much random.

--

David Rutten

david@mcneel.com

Tirol, Austria

Thank you!
I went nuts! Yes is random indeed.
Thanks again.

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