Problem in making Path Finder satisfied Slope of the Ramp

  1. Depending on the slope of the terrain, I want to find the optimal route while satisfying an slope of the ramp. This is my expectation.


2. But the result is… I hate zig zag result (Divide Curve Count : 50)


3. If I increase the segments, results are getting worse, tighter zig-zag (Divide Curve Count : 100)


4. On the contrary, If I reduce segments it’s getting better. It’s a little bit similar to what i imagine (Divide Curve Count : 20)


5. But in another case, If the straight distance is steep, it can’t think of going around and almost climb a cliff. I want smooth path even if it goes longer way like a path in a park.


6. And I want to find best route while satisfying the max slope(5.5%) using Galapagos, I don’t know what values to put into the Fitness Input value, how to accomplish this.

*Full Script Here


Ramp Path Finder.gh (84.4 KB)

I recategorized your topic so it is in the Kangaroo category.

And have you looked at this topic?

1 Like

I got a lot of help from this forum to make this script, I’ll take a look at it again, thanks you!

1 Like