Extrude using set path option

 From:  rich (RICHKEAR)
While trying to extrude a simple cornice molding using a profile and path as in jpg 1, I get a result as in jpgs 2 and3.
The result should turn out as in jpg 4 where I used sweep. The alignment, orientation and shape are perfect,
although the ends need to be capped. The sweep tool appears to function as a path extrude tool in a manner that I am used to.

My assumption was that "extrude using set path" would maintain the profile orientation as the sweep did in this instance.

Can anyone shine a light on this? Is the result I got using "extrude-set path" the one to be expected?

Many thanks in advance.