Problem Description
After splitting edges and scaling elements, when the 4 edges of a face are converted to individual curves, it seems that almost always one curve will have a tangent in the opposite direction.
For example, looking at the factor value from 0 to 1 from point "4" on the top face, it can be seen that:
4-5: clockwise
5-6: clockwise
6-7: clockwise
7-4: counter-clockwise
It can also be seen that when the tangent value is viewed, one curve is black while the others are white or vise versa.
Application Goal
Ideally, in this proof of concept, each instance would have:
- An axis pointing in the same direction as the curve (all uniform either clockwise or counter-clockwise)
- An axis pointed towards the opposite edge
- An axis pointing in the same direction as the original face's z-normal:
If this is accomplished, then, should the instances have an additional line rotated 135° from the line pointing towards the opposite edge, they should be parallel and point in the same direction:
I have referenced many questions, but these two seemed to be the most relevant (the first of which provided a node group that is in the blend file below thanks to quellenform):
How to correct curve tilt, tangents and normals of a curve?
Geometry Nodes: Whether the curve rotates clockwise or counter-clockwise?
Any help would be very much appreciated.