Getting bottom curves of a door opening in a wall

This may be interesting to you: Selecting doors and windows from room X to room Y