Triangle Surface Division - Selecting Points from Different Edge & Order

Hi All,

Maybe this is something that can be done easily, and perhaps I’ve made it unnecessarily hard, what I have here is a triangular surface which I divided into points.

As a result the yellow edge and direction is the list order. When I used Flip Matrix, the green edge and arrow becomes the new order, but is there a way to get to select it from the blue highlighter line? I can’t seem to figure this out.

Thank you in advance!

Edit: File attached
Triangle Surface Div Sort Points Order.gh (13.8 KB)

Edit #2:

An extension of the task here sa I’m tranforming the base geometry to a polygon but using the triangle structures to split at certain points onthe line. SDivide is changing the behaviour again - but is there a way to select points along the 4 edges in order? Or what other command should I be using to divide the surface if not SDivide?


File attached:
Triangle Surface Div Sort Points Order_Polygon.gh (14.3 KB)

Edit #3: And what will need to be done to be able to organise the points “horizontally” (I know I can create rectangular grid based off the surface, but can it be done without having to recreate the grid and uss what’s existing already?)

File?

Attached - thanks! It was late last night

Seems you almost had a solution. The question is “How to sort the points?”
You have to find 1 or more parameters for that. If, as example, you need it to be concentric, distance to centre of area would be interesting.

In your question it is about direction in “global world”. That is why I approached it with the x, y and z parameter of every point.
Three sliders to give more/less weight to each (X, Y and/or Z) (just play with these to get what you want.
The weighted order is used to sort the list of points.
and split it,
Using the last slider to check the result.


Triangle Surface Div Sort Points Order Eef.gh (17.0 KB)

Try this solution.