Curve Normal Changes

Hello all,

I know this is a common problem but I cannot find a way to solve it. When you have a curve that is convex and concave the normal of the curve changes. How would you go about setting all of the normal’s the same way.

I have looked at this solution (by Mostafa) but its just reversing the curves if the z is not positive. In my case the line is double backing on its self so can not just reverse it if its negative.

Any help is greatly appreciated.

Try creating a polycurve from all the curves and offsetting by the desired distance.

2 Likes

I like that. I can check to see if the vector hits the poly curve within the offset distance and if not flip it. Thank Jacob. I will put something together and post it up later.

Here is the final outcome. I ended up offsetting the curve rather than useing vectors but the outcome and logic was the same.

2 Likes