Create a solid extrusion from a polyline self-intersecting errors

I cannot right now, but see if this helps better: