How to extrude a complex polyline

I feel you, that’s why I suggested it - Laurent has a rather interesting way of doing it in this discussion: