Grasshopper

algorithmic modeling for Rhino

I'm a beginner trying to get the shortest solution for a polyline that connects all points  and never crosses over itself. The points are all located on a flat surface.

Does anyone have any ideas how this may be done?

Views: 4012

Replies to This Discussion

poly line component, interpolate curve component. or do you mean the shortest path? http://www.grasshopper3d.com/group/shortestwalk

basically shortest path, but connecting every point on the way.

I was also hoping to keep the polyline from ever intersecting itself.

It's basically Travelling Salesman with a chaser of curve intersections. There's no known algorithm for solving it in a single iteration. Typically some solver is used to find these, but I sincerely doubt you can use Galapagos for this as the most useful mutation (gene-swap) is not available. I've tried 3 different approaches, but it was taking forever.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

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