Grasshopper

algorithmic modeling for Rhino

Hi everybody,
I've some issues with finding and deleting duplicate breps. From previous discussions I found a script that could do the same with points which I modified to work with breps (sorting and shifting a list). Right now I've used the volume of a brep to identify whether or not it has duplicates. It works only partially, most duplicates are removed but others are still there. Playing a bit with the step size of the series seems to make a bit of difference but is not sufficient (differences in volumes in 3dmodel are big). Any ideas on how to solve this?
Thanks 
Bas

Views: 4981

Attachments:

Replies to This Discussion

Hi Bas,

I've got a pair of vb components for this sort of thing. They get a bit heavy with a large set but I've found them to be pretty reliable. They basically check for volume and centroid equality (within adjustable tolerance). The only difference between the two components is the output structure. One spits out a list with an index map incase you need to rebuild the duplicates later. The other maintains the incoming tree structure while removing duplicates.
Attachments:
Hi David,
Thanks a lot! Did a couple of test runs but it works perfectly for the job, also with the tolerance makes my life a lot easier. I think I owe you a couple of beers ;-)
Bas

thx very much , this is very helpful !

how to use this script in grasshopper?

thanks!

Yeah a couple of beers we owe you. You might've gotten me into VB scripting or not really I want to digo into c++ for it to be 10X faster , nice though. Cheers!

Hello David,

i wanted to try your definition but somehow it is just opening window instead of downloading it.

do you now why ?

thanks a lot 

Thomas

you sir rock my world... :D

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service