Grasshopper

algorithmic modeling for Rhino

This video illustrates a least-cost-path algorithm written in Python and run in Grasshopper.

The algorithm utilizes the networkx python graph calculation library, creating a weighted graph from 3d mesh geometry. In the video three separate paths through shifting terrain are found from three starting points to a shifting destination point. The algorithm includes an input, called "flatness bias" for seeking out routes that are both short and flat as possible.

Views: 546

Comment

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

Comment by Benjamin Golder on January 28, 2012 at 3:44pm

Thanks Ángel

Comment by Benjamin Golder on January 28, 2012 at 3:43pm

If you want to know how this works, I posted about it some time ago: http://www.grasshopper3d.com/forum/topics/least-cost-path-on-mesh-p...

Comment by Ángel Linares on January 27, 2012 at 2:33pm

nice work here!

Comment by Benjamin Golder on January 27, 2012 at 1:07pm

Thanks Marios

Comment by Marios Tsiliakos on January 27, 2012 at 5:30am

Great job Benjamin...

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