Grasshopper

algorithmic modeling for Rhino

To complement the recent Exoskeleton wireframe thickening tool by David Stasiuk and myself,

I am also sharing this component for cleaning up messy wireframes or line networks.

You provide it with any list of lines and it turns them into a clean directed graph or network.

So it :

-Snaps together nearby points

-Removes duplicates, Overlapping lines and stray segments

-Splits lines at crossings and creates new nodes

-Keeps an optional set of input points fixed

It also outputs the topology information of the network, saying what connects to what:

For each point:

-A list of indexes for all the other points to which it is connected by a line

-A list of indexes of the lines which end at that point

-A list of indexes of the lines which start at that point

For each line:

-The index of its start point

-The index of its end point

and also, the simplified graph - with all nodes of valence 2 collapsed.

appears under the Mesh>Triangulation tab

Topologizer.gha

Views: 20917

Comment

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

Join Grasshopper

Comment by Christian Schmidts on December 23, 2012 at 8:55am

thanks for sharing - you really make our lives easier.. :)

Comment by David Stasiuk on December 23, 2012 at 2:23am

Outstanding!

Comment by William Nemitoff on December 22, 2012 at 10:38pm

This is so wonderful. Thank you so much for sharing

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2019   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service