ExtrudeEffect
Extrude effect
To use the extrude effect, you just select two paths and run the effect from the effects menu.
To get the extrude effect copy [extrude.inx] and [extrude.py] into your Inkscape extensions directory.
Here's another example: