Grasshopper

algorithmic modeling for Rhino

Hello,

Just wanted to post a funny result I get when using the sort list component. Seems like in some cases some info gets lost or jumbled up in the component since in this test I have very similar lists set up and run through, but still I get a different result.

Is there any reason for this to happen, maybe some decimal point rounding? Is this a known issue or are there any prior discussions on this that I'm missing?

--

Einar

Views: 783

Replies to This Discussion

If you plug the values just prior to Equality into a Format component with the pattern "{0:R}", what does it look like?

Basically different configurations of this will give different results. So as you can see just by switching which values goes in the top input A and which values go into B will give varying result. Notice that the format component can have the same effect all by itself without the sort list component being involved as in the last picture.

I first noticed something was off with using sort and equality together when points I had on different branches switched positions after the sorting process so I had a situation where before it was point X1, X2, X3 together against points Y1, Y2, Y3. That turned to X1, Y1, X3 together and X2, Y2, and Y3 together along with maybe hundred more branches that were unaffected.

I'm attaching a file where this can be seen.

Attachments:

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service