Grasshopper

algorithmic modeling for Rhino

Hi everyone,

I though I would just post this because I have seen one or two people asking how to do this in the past, but no body replied to them.

Please note the definition was done be David Rutten to remove duplicate numbers and then modified by Vicente Soler to control the sorting of the numbers.

By using it to remove duplicate points I merely did the really obvious.

Theunis

Views: 16729

Attachments:

Replies to This Discussion

Sorry I see there is a bug with the sort list component when it has extra Inputs and you copy it or open the file. The picture below shows how it should look though.
image
Attachments:
Hi Theunis
Your definition wasn't working but the base logic was right.
The problem was that if a point shares the position with another then you need to sort one of the components (X in this case) and use the same sorting to test for inequality in the other components (Y and Z). Then use a OR test to see if any one is true... the three must be false to remove the point.

Here is the definition.

Thanks for the original file that was very useful.
Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service