Slice a CSG to get a polygon of its outer walls as they intersect with the Z=0 plane.