Why does Point Groups reverses the order of points?

This is not cool… when no groups are found the data structure should be left unchanged.

I am trying to group curves in Z axis to extrude a group -Z and a group +Z.

Flattening and sorting is not a solution because sometimes the inputs change and I get more complex data such as this.

I think for now it is consistently wrong (it always swaps no matter if it finds groups or not), so I can workaround that, as long as it always keep reversing… :crossed_fingers:

Group and Extrude.gh (16.8 KB)

still reversing lol
Group and Extrude.gh (7.2 KB)
Group and Extrude1.gh (10.1 KB)

it does not always reverse, I think the component hides a pretty complex method to do that calculation in such a fast way, and points are not necessarily processed in the very same order they are input

anyway, the component also gives indexes output, so I think you can sort the output in such a way it respects the input list both branch-wise (earliest member appearing in each branch) and member-wise?

1 Like