Grasshopper

algorithmic modeling for Rhino

I made a little VBscript that remove duplicate values from a single list of numbers. It's not optimized but it works. Use it, test it and letme know. As usual, hints ad upgrades are welcome. Bye.

Paolo

Views: 10142

Attachments:

Replies to This Discussion

They are the same breps duplicate in the same place.

C# naive brep equality testing code attached.

Attachments:

My fault, probably there's a little misunderstanding

I would just to remove the duplicate breps like values in this picture:

May I throw in my one-line LINQ alternative?

A = Values.Distinct()

Linq is actually pretty awesome.

Thanks David

(it's always a pleasure learning from the master)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service