Polycurve to be on points with direction of the plane.byOriginNormal

Dear guys
I have a Revit profile that has been taken to dynamo and want this profile (which is polycurve.ByJoinedCurves) to be in perpendicular to my plan.ByOriginNormal which are 10points along a curve. Because I want this profile to be sweep along this curve. firstly I

need this profile to be in the direction of the planes.
can you please guide me how to put this profile along the planes?

Hi Could it help play around with some coordinate transform…


that was Great but one thing is the profile doesnt align 90 degree with the x,y,z of the coordinated system as you can see in the picture. How do you align with the x,y,z of the context coordinate system.