dont know about exact node in dynamo that can trim the walls coming out of roof
see
there might be an update i do not know of tho