This is a Grasshoper code you can run on rhino7 or 8 to make your own custom lightsaber. I included a custom model.
3DM (Rhinoceros 3D, filesize: 2.09 MB), OBJ (OBJ, filesize: 6.03 MB), STL (Stereolithography, filesize: 4.8 MB), OTHER (Other, filesize: 281 KB)