This component is a rework of the “Radially Sort” component. Instead of using a circle the component has been simplified to a much more straight forward process. There are two inputs, a list of points and a plane. The component projects these points to the plane then calculated the angle of each point relative to the plane’s x axis, then sorts indices using the angles as keys. The resultant output, A, is the corresponding sorted index values to the input list.
INPUT Point3d List pt Points to be sorted
INPUT Plane Item pl Plane to sort about x axis
OUTPUT Integer List A Index values of sorted points
gha | Download User Objects
gh | Download Grasshopper Sample Files
Platform | Rhino 5, Grasshopper
Version | Grasshopper 0.9.0075
Type | Visual Basic Component