ifcPipeFitting PVC SCH40 FITTING GENERATOR
Hi, I hope you’re doing well!
I created this generator for Schedule PVC pipe fittings based on the Charlotte Pipe manuals, and I verified some dimensions with real fittings. It generates pipe fittings and cleanouts with their corresponding ports, and the insertion points are the pipe intersections.
Please try it out and let me know what we can improve!
The file is in Python, but I couldn’t upload it with the .py extension. Please open the Scripting workspace in Blender and press Play. Then a panel will appear in the N-panel where you can create fittings of any diameter you want.





Comments
Latest version, includes hot water pipes
Continuing with the code that connects the pipes, I'm having some trouble with the undo function. Therefore, the workflow that has worked for me is to draw the pipes in their positions, disable undo, and then create the fittings. To create the fittings, you select two orthogonal pipes and create the elbow (it must be created beforehand with the other program). For the tee, you first select the pipe to be cut and then the perpendicular pipe, and create the tee. For the fitting, you select the pipe and then the side where you want the fitting to be placed. And for the access point, you select the pipe and then click on the part of the pipe where you want it inserted (this still has some issues, but after creating one, you just duplicate it).
I hope someone uses it and tells me about it.