Curves: any way to evaluate normal direction at given point

I need to align curve normals to some surface via script, but there is a problem. Is it possible to get normal direction at given point of curve with arbitrary type/settings (polyline with minimum twist)? I mean convert point tilt to local/global direction / vector.

This directions are definitely present somewhere, for example viewport overlay can draw them dynamically. But how to get them in python?

1 Like