Cannot think of a way to do this with walls of the top of my sleepy head.
But, you can create those shapes with GDL script ... or visually in ArchiForma (Cigraph plug-in). Just a Ruled surface (either GDL or ArchiForma) would do it...with the top and bottoms of your walls being the match lines unless the wall is to bulge too... then probably need a Coons. The result would be an object, not a wall.
Karl
AC 28 USA and earlier • macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
One of the forum moderators