Orient by Normal | Orient Direction

Hi Grasshopper Fourm,

It has been a while since my last post and I have encountered a curious problem.

I wrote a script to take curves that were projected onto a planar surface to orient a shape to be sweeped, but it became difficult when trying to do the same to a curved surface.

I attempted to use the orient direction component but had no luck, and not sure if that is the best way to align an object to a set of curves with direction?

Does anybody have any recommendations or advice regarding what to do when trying to orient objects with normals, and is this the correct way to describe the problem?

Best regards,

.01.07.21_Louvers.gh (256.3 KB)