How to get a vector for each point at curve

I personally don’t like rebuilding geometry because it makes incorrect information sometimes.
In this case, You need to sort out the normal vectors by crossing with tangent vector.
See the image below.

before sorting

after sorting

if you change the number in the blue circle to -1. you could get opposite direction normal.

7 Likes