Originally posted by Nestor:
I agree with Jaybee that putting a dog leg in the vent pipe, or two, or three won't affect the performance of any plumbing fixture vented by that pvc pipe.
But, when you say:
Originally posted by ivanblank:
...whether altering the configuration of the pipe (from totally straight to a couple of right angles) would affect the performance of the toilet vacuum that the vent creates.
then I'm thinking you don't understand either vent piping or toilets, and I should do some explaining.
A vent pipe doesn't create a vaccuum. If anything, a vent pipe is there to prevent a vaccuum from arising.
You see, when water is running down a sloping drain pipe, it's heavy and flows quickly, and so it can develop quite a bit of momentum. Just in the same way as a subway will draw a wind behind it as it leaves the station and enters the tunnel, water draining down a drain pipe can create a suction behind it. That negative gauge pressure can be strong enough to suck the water out of the p-trap under a sink, shower or tub, thereby allowing sewer gas to waft up into your house through those empty traps. A vent pipe is connected to the drain piping somewhere shortly downstream of the p-trap. That vent pipe's job is to allow air to be sucked into the drain whenever there's a negative gauge pressure in the drain pipe. In that way, air rushes in from the vent piping to fill that partial vaccuum, ensuring that there isn't enough suction behind the draining water to suck the p-trap dry. And that ensures that your bathroom always smells fresh as an Irish meadow in the springtime.
So, vent pipes are there to PREVENT vaccuums from occuring in drain pipes.
A toilet, on the other hand, needs suction in it's drain pipe to work properly. Lemme explain:
A toilet is nothing more than a glorified siphon. With a siphon hose, you suck on the end of the hose to fill it with liquid, and once it's full the laws of physics take over, and the hose becomes a siphon and liquid will flow through that siphon hose as long as it's full of liquid and the outlet of the hose is at a lower elevation that the entrance to the hose.
Obviously sucking on the bottom of a toilet isn't going to fly so we have to find a different way to start a siphon in a toilet bowl. Enter the toilet tank. A toilet tank's job is to pour enough water into the toilet bowl fast enough that the bowl water overflows a "wier" molded into the back of the toilet bowl so fast that the subsequent "discharge channel" (which is the winding pipe you often see molded into porcelain toilet bowls) gets completely filled with water. The sharp bends in that discharge channel are there ONLY to slow down the flow of water through it, thereby increasing the liklihood that it will become flooded with water. If enough water pours over the wier into that discharge channel to fill that discharge channel completely, then the laws of physics again take over and transform that discharge channel into a 2 1/2 inch diameter siphon which sucks the water and everything in the water out of the toilet bowl. As long as that winding discharge channel gets filled completely with water, and nothing comes to interfere with the laws of physics, then you have Sir Isaac Newton's personal guarantee of a successful flush.
So, unlike any other plumbing fixture in your house, you WANT a strong suction behind the water draining out of a toilet to clear the bowl completely, but that kind of suction in a sink or tub would suck the water out of the p-trap. You don't have to worry about that with a toilet because the toilet tank's job is not only to flood the bowl's discharge channel, but to keep adding enough water to the bowl after the flush to refill the bowl again. And so, in a toilet, it's the water in the bowl that performs the same function as the water in a p-trap under the sink. The bowl water prevents sewer gas from wafting into your house's bathrooms through the toilet bowl just as water in the p-traps do.
So, that vent pipe is mostly there for the sink and tub and/or shower in your bathroom. The toilet doesn't need that vent pipe, and lots of homes that have a basement toilet added years after the house was built, DON'T have any sort of venting for the basement toilet at all. The toilet's drain pipe is simply connected to the house's main drain line, and that's it. No vent.
And, it's the toilet bowl's discharge channel filling up completely with water and magically transforming into a powerful siphon that gives rise to a strong flush. The vent didn't do nuthin to help that discharge channel fill with water and doesn't deserve to share in the credit for that.
So, I don't see any problem with the vent pipe not being purely vertical, but when you said the vent pipe creates a vaccuum in the toilet which determines how well the toilet flushes, I saw a real problem there.
I still think you should OK that bend in your vent piping with your plumbing inspector tho. Even if it's against the code in your area, he may have come across this problem before and know a way around it.