Normally local codes prevail BUT I normally go no more then 24" from the trap and the trap located no more then 2ft from the vent
You CAN'T have a p-trap under the toilet! The p-trap is built into the toilet!
The trap is built into the toilet itself, you shouldn't put one in the drain.
of course you ding bat
A waste pipe gas trap, also known as a P-trap, is a U-shaped pipe used in plumbing systems to prevent the escape of foul sewer gases from entering a building. It works by creating a water barrier that traps the gases in the pipe, while still allowing wastewater to flow through freely. This helps to maintain a sanitary and odor-free environment in the building.
1 1/4", only for the basin trap arm
A shower drain plumbing diagram typically includes the shower drain, trap, waste pipe, and vent pipe.
The purpose of a p-trap pipe in a plumbing system is to prevent sewer gases from entering the building and to maintain a water seal that allows waste to flow out while blocking odors from coming back in.
You could do that but you would need a trap to stop sewer gas from coming in. The toilet has the trap integrated into it. If you have access to underneath then you could add one.
To properly install and maintain a waste pipe for a washing machine, ensure it is connected to a drain line with a P-trap to prevent odors and blockages. Regularly check for leaks, clogs, and proper drainage to maintain the pipe's functionality.
The trap should be before the vent. The trap is used to maintain a watter barrier to prevent waste water and sewer gasses from entering the home. The vent is use after the trap to allow the water to flow freely in the pipe with out drawing the water from the trap.
It cant have more than 3 feet of length on it
A detailed toilet drain diagram shows how waste from the toilet flows through the plumbing system. It typically includes the toilet bowl, trap, waste pipe, vent pipe, and main sewer line. The waste is flushed down the toilet bowl, goes through the trap to prevent sewer gases from entering the home, then flows through the waste pipe to the main sewer line. The vent pipe allows air to enter the system, preventing suction and ensuring proper drainage. This diagram helps understand how the plumbing system works to remove waste from the toilet effectively.