Walls from Polyline Depth and Height
This is a grasshopper script/algorithm that creates walls with depth and height from a base polyline. You can export/bake the resulting form/brep. Refer to video and images for more information.
To use your own polyline, make make sure to unplug the polygon maker, then set one closed planar curve