I am trying to create a curved object from two "caps" that have different geometries by extruding them along the curve and then bridging the edge loops to get a solid object.
Essentially I want to do what was done in this thread: Lofting: can I copy a Shape-Keyed mesh for each frame of its animation? but cannot do the first step where the poster had already made the animation with the shape keys following the curve.
I have tried using shape keys so I can get one cap to morph into the other. This works, but as soon as I try to use "follow path" together with the shape keys, the path isn't followed anymore (without the shape keys it works).
I also considered instead using an array and curve modifier which works well, except that I would want the array objects to gradually transform into the other shape, so I am not sure if this is possible.
Ultimately I want to be able to write a script to create a 3D object from the two objects (or same object with the 2 shape keys). I don't need to have an animation, just the solid object, although maybe the animation and the code in the thread above is the best way to use the shape keys.

