If you have a 3d printer you could make matching threads on a cylinder that push into each bit of the pipe. If you dont, it might be possible to use a threaded rod and a nut glued either side of where you chopped it. (Disclaimer, Am electrical engineer 😬)