Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

1.Model
2.Load
3.Cross Section
4.Material
5.Algorithms
6.Results
7.Export
8.Utilities
License

Connects each node to a given number of nearest neighbor nodes or neighbors within a specified distance.

Inputs

NameIDDescriptionType
PointPPoints to search from.Point
CloudCCloud of points to search.Point
Number of neighborsNNumber of nearest neighbor connections for each 'Point'. Input -1 if number of neighbors need not to be considered.Integer
Limit distanceLDistLimit distance of points to be considered as neighbors for each 'From Point'. Input -1 if distance between neighbors need not to be considered.Number

Outputs

NameIDDescriptionType
PointsPList of list of points of input 'C' closest to points in 'P'.Point
IndexiIndex of closest points in 'C'.Integer
DistanceDDistance between points of input 'P' and 'C'(i).Number

Video Tutorials

Site design © Robin Rodricks.   Co-created by Andrew Heumann.   Karamba3D and associated data © 2022 Clemens Preisinger.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service