Grasshopper

algorithmic modeling for Rhino

Hello people.

I have created a voronoi3D arrangement inside a cube in grasshopper. After that I exploded the Brep to get the information of the lines and points. The duplicated points I managed to eliminate with "Sets>Create a set" (Brings down the points from 576 to 68) but the lines have proven to be very difficult to get rid of.

Before describing what I have already tried, I wish to describe why there are so many lines. The voronoi3D component creates unique voronoi cells with all their surfaces, vector and points. What it does not do, is to eliminate repeated surfaces/lines/points where two or more cells meet.

I have tried merging all the lines into a list and passing it through a "create a set".

I have tried Kangaroo plugin

I have tried Weavebird plugin

I have tried to figure out a pattern of the lines to see if maybe i could cull them in some kind of pattern (this didnt work because there is no order in the cells).

I have tried the approaches of some people of eliminating lines with the same distance (http://www.grasshopper3d.com/forum/topics/double-surfaces)

Maybe one of you know how to better do this or maybe I did something wrong.

Im not sure if you guys need images or files from me, but anything you need i can provide.

At this moment i'm about to just use "list item" for every cell and manually eliminate each surface/line i don't want... this will take me forever and defeat the purpose of the "algorithmic approach" but nothing seems to work :/

Thanks in advanced for any help!

Views: 308

Replies to This Discussion

Could it be that you were forgetting to flatten the list of lines before passing to the RemoveDuplicateLines component?

hmmm could be... let me try it :)

You Sir, are amazing! :D

Just got it from 288 to 132.

I wasn't using the "Edges" component. I was using "Brep Wireframe".  Not sure what is the difference between the two, but it did the job!

Many thanks!

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