Grasshopper

algorithmic modeling for Rhino

Is there a quick way to retreive and delete duplicate (overlapping) faces?  I have a 3d CA script I wrote in rhinoscript but I want to use grasshopper to put the cells in as breps and then delete all the overlapping faces so as to open up the interior spaces.  Any way I can do this without writing something in vb?

Views: 3418

Replies to This Discussion

Nobody?
If the overlapping faces are identical, then their centroids will be too. So you can check if the centroid is duplicated and cull the faces accordingly.
David Reeves posted a useful definition on the Kangaroo forum that detects duplicates and outputs indices :
http://groups.google.co.uk/group/kangaroophysics/browse_thread/thre...
http://kangaroophysics.googlegroups.com/web/duplicate_rebuild.ghx?g...

Of course it is possible to have different faces with the same centroid, but if you are working with a grid of cubic cells I guess this isn't an issue

Greetings Mr. Piker,

The file upload option in Google Groups is disabled, so I can not access the definition mentioned above. Is it possible for you to upload it here?

thanks in advance,

Sina

Thanks much appreciated, didn't even think about using duplicated centroids as a cull pattern. The model is just a cellular automata script done for a class in rhinoscript but I wanted to bring it in to grasshopper to remove the inside repeating faces.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service