We are gutting and rebuilding our basement, and part of that included removing an improperly installed shower and replacing it with a bathtub. However, in order to position the tub so it fits in the room, I need to move where the drain down-tube is. Below is the current setup:
Ideally the down-tube should be located in the upper right corner, right about where the pipe comes out of the foundation. The horizontal drain is below or within the concrete of the basement floor, so I can't really position anything there. I bought a ton of different angle pieces and some pipe to see if I could arrange something to get it near the desired location. But as soon as I started, I realized one piece that could fix it directly... if it's allowed. I have the P-trap I was planning to install on the repair, and it is the kind with a screw on attachment to the horizontal drain. If I swivel that all the way around, it will fit directly with no additional pieces needed. See the pic below for roughly what I would like to do:
So my question is if this is legal (code) and will it work? It seems like it should be, since it's a legal P-trap, but it's turned in a way that it looks like a loop. I feel like this isn't any different than having the trap in the same plane as the horizontal vent, but the loopy bit has me worried. Anything wrong with this setup?