Extruding along an area I'd like to extrude a profile along the edge of an area. Furthermore, this profile should always stay in contact with the edges adjacent area.
Imagine a ribbon that twists. The resulting area(s) are where my profile should extrude along with.

Profile (orange)


Extrusion path (orange)


Edge of Profile (white) which is in permanent contact with the paths adjacent areas


End of profile (orange)


Thx in advance for every info on how to solve this problem.
You can recreate it using a Bezier curve.


Add a Bezier curve, and use the Tilt Tool to adjust the tilt.
Create the profile shape (It needs to be a curve too). The origin point position is important.
Set the profile shape as a Bevel for your curve. It will align based on it's origin point.


Add a Bezier Curve and tilt the control points. Add more control points if needed.



Create the profile shape and set it as a Bevel object. If it's a mesh object, you'll have to convert it first.