Grasshopper

algorithmic modeling for Rhino

Hi everyone,

I saw this video recently.

https://vimeo.com/118487290

Any hints about the method used here?

Thanks

Roger

Views: 1529

Replies to This Discussion

Hey Roger,

In the video description Anders says he has imported Networkx (a graph library for python). A mesh actually can represent a graph quite well. It basically defines a series of nodes (vertices) and edges. It looks like he might be using a custom script to edit the mesh and form the 'walks' by linking particular faces together (maybe by draft angle?).

Networkx has a lot of great stuff in it one in particular finds the discrete cells in the graph, as far as a mesh is concerned this would be any mesh face. But as it looks like he is redefining the mesh it probably finds the 'walks' as a discrete object and then goes about unrolling it based on an optimal transformation (assuming this might be what Galapagos is used to help with).

I am just guessing though. I'm sure Anders will provide a bit more info if you ask nicely? ;)

Thanks Mat, your observations are all pretty spot on. We had a longer discussion about this model here. There's a link to one of my GitHub repos with an example for how to get started with NetworkX using a mesh as an input for generating a graph. Hope that helps :)

Edit: For the unrolling, I think you could simply use the Kangaroo unroller. As far as I can recall it will also work on triangulated mesh strips.

Edit2: I shall really miss the Sterling pearls of wisdom and wit. Spin-off?

Sorry just saw this now, glad you got it working. I usually just manually extract the module folder structure and place it in path which is read by Rhino.Python. Negating the whole prompt/egg thingie :)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service