lightsaber
thingiverse
This thing was crafted with Tinkercad, and you can edit it online at https://www.tinkercad.com/things/gbt6Q4DpjOd. It's specifically designed for PVC pipe inserts, so if you're using real PVC, you won't need the spacers. The button is a screw type, but feel free to swap it out with a push-button switch if that's what you have on hand - I didn't happen to have one myself.
Download Model from thingiverse
With this file you will be able to print lightsaber with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on lightsaber.