Vector Sort


This Node sort the sequence of index according to python sort, with different criteria.


Inputs are vertices lists(vectors, tuple) and polygons/edges as integer lists, and optional inputs(Vector, matrix and user data)


Param Type Default Description
Vertices Vector   vertices from nodes generators or lists (in, out)
PolyEdge Int   index of polgons or edges (in, out)
Sortmode XYZ, Dist, Axis, User XYZ will sort the index according to different criteria
Item order | Int   output the index sequence


The node will output the Vertices as list of Vectors(tuples), Polys/edges as int and the sorted list of Vertices.

Example of usage

Example with an Hilbert 3d node and polyline viewer with Vector sort set to Dist:

link to pull request: