Is it possible to automatically detect walls in polygon soup?
Of course it's hard to strictly define what a wall is, my slightly vague definition would be:
A wall is a largest possible box (not necessarily axis-aligned) with its entire volume covered by subset of geometry in that polygon set.
Provided set of polygons may contain multiple walls, walls under specific low volume should be ignored, walls may overlap if it's easier for the algorithm, subset of geometry used to construct a wall may have larger volume than the wall itself, but opposite is not allowed.