Sverchok. Duplicating an object along a path
I propose a more immediate way to do this, using the polyline Node and converting the Path to its 3 subparts using "Separate Loose Parts" Node. and picking the Profile curve as the Bevel object. A lot less complicated and uses Blender for the heavy lifting.

Note the heavy zfighting in the part where the "extrusions" overlap.