Grasshopper

generative modeling for Rhino

Matt Ward
  • Male
  • New York, NY
  • United States
Share on Facebook
Share Twitter

Matt Ward's Friends

  • Arely Perez
  • tommy

Matt Ward's Discussions

Easiest Way To Remove Duplicates
5 Replies

Just in case someone really needs a quick script to remove duplicate items, here it is in VB.net. This component has a single input of X that is a List( Of On3dPoint ) and output A. You should be…Continue

Tags: duplicates

Started this discussion. Last reply by Ben Sitler Oct 17, 2010.

 

Matt Ward's Page

Latest Activity

Northern Rock commented on Matt Ward's video
Thumbnail

FireFly-test

"Great stuff..could you share a Grasshopper+Firefly definition please?"
Jan 22
Ben Sitler replied to Matt Ward's discussion Easiest Way To Remove Duplicates
"Oh I would be careful using list.contains on geometrical inputs. Try moving one of the points in your list 0.00000000001 units (basically a rounding error) and watch as it is included in the new list of unique points. Ben"
Oct 17, 2010
qwesxqe replied to Matt Ward's discussion Easiest Way To Remove Duplicates
"thanks, ti's useful"
Oct 1, 2010
Yurii replied to Matt Ward's discussion Easiest Way To Remove Duplicates
"Thank you! That it is necessary."
Sep 29, 2010
Matt Ward posted a video

Tri-Surf Demo

Tri-Surf is an attempt to model a variety of surfaces in real-time. It uses an Arduino to control 9 servos. Instructions are sent to the Arduino from Rhino m...
Jun 29, 2010
Matt Ward's video was featured

FireFly-test

0:35
testing out my new Arduino with FireFly. streaming photocell resistance to control the sphere's size.
Jun 28, 2010
Matt Ward replied to Matt Ward's discussion Easiest Way To Remove Duplicates
"funny, I have that installed and I never saw that bit of it... oh well that was the start to a script I wrote to eliminate points that are inside a circle with 5 other points, essentially finding the points inside circles containing less than 6…"
May 2, 2010
Luis Fraguada replied to Matt Ward's discussion Easiest Way To Remove Duplicates
"if it is points / lines, check out kangaroo..."
May 1, 2010
Matt Ward posted a discussion

Easiest Way To Remove Duplicates

Just in case someone really needs a quick script to remove duplicate items, here it is in VB.net. This component has a single input of X that is a List( Of On3dPoint ) and output A. You should be able to change the type and it will still work.Dim uniquePoints As New List( Of On3dPoint )Dim found As Boolean = FalseDim i As Double = 0Dim j As Double = 0For i = 0 To x.Count - 1 Step 1Dim cPoint As On3dPoint = x.Item(i)found = FalseIf uniquePoints.Contains(cPoint) Thenfound = TrueEnd IfIf found =…See More
May 1, 2010
Matt Ward replied to Dana Beligan's discussion Fractals - Sierpinski variation
"that is way technical, but it is very possible to implement in grasshopper. at the bottom of the page there is a link to Curt McMullen's software called "lim" that draws fractals in postscript format. if you know C enough to at least…"
Apr 11, 2010
Matt Ward commented on Matt Ward's video
Thumbnail

FireFly-test

"Thanks for checking out my project! This is an Arduino Duemilanove. I got it from http://www.adafruit.com/"
Apr 11, 2010
Matt Ward posted a video
Apr 9, 2010
Matt Ward is now a member of Grasshopper
Apr 7, 2010

Profile Information

Company, School, or Organization
Columbia University
Web or Blog
http://www.mwdesigns.com

Matt Ward's Videos

  • Add Videos
  • View All

Comment Wall

You need to be a member of Grasshopper to add comments!

Join Grasshopper

  • No comments yet!
 
 
 

Translate

Search Grasshopper

Members

Photos

  • Add Photos
  • View All

© 2012   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service