We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
Flora
Hydro
Mapping
Terrain
Utilities

Shortest Path

Calculates the shortest path in a network of curves

Inputs

NameIDDescriptionType
CurvesCThe group of curves that form the network to traverseCurve
StartsSThe point or points that form the starting point of the pathPoint
EndsEThe point or points that form the end point of the pathPoint
LengthsLincrease or decrease their traversability. If no lengths provided, they will be A manually-specified length for each curve; useful if you want to artificially manually calculated for each of the curves.Number

Outputs

NameIDDescriptionType
Shortest PathPThe curve showing the shortest connectionCurve
SuccessionSThe indices of the curves that form the shortest pathInteger
DirectionDTrue if the curve in succession is walked from start to end, false otherwiseBoolean
LengthLThe total length, as an aggregation of the input lengths measured along the pathNumber

Site design © Robin Rodricks.   Groundhog and associated data © 2024 Philip Belesky.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service