Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

Flora
Groundhog
Hydro
Mapping
Terrain

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
LengthsLA manually-specified length for each curve; useful if you want to artificiallyNumber

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 © 2023 Philip Belesky.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service