In the process of updating this website. It is probably broken but you should try to use it anyway :)
Not every hack project works out. I tried to repair a damaged camera lens (my second time doing this – Nikon Nikkor AF-S 18-55 f/3.5-5.6G ED II) and while I learned a lot about the mechanics of the lens I was unable to successfully fix it. The design could be improved by adding stoppers at the end of the “twisty” rails (see annotated photos) to prevent the front end of the aperture cylinder from slipping off and getting lodged into the front part of the lens casing. Newer versions (like the 2016 AF-P kit lens) use a more durable rail and locking system.
I did successfully solder the wire, at least...
The root of the problem - the inner cylinder slips off the rails and gets stuck, locking the lens
This is the assembly inside of the lens that zooms in and out and controls the aperture - it slides on two types of rails
Seating the aperture cylinder back inside is the hardest part - I had to deduce how far along it should be slid in based on looking at another lens - if you try to do it vertically it just slides on down to the bottom and gets stuck again
Pretty neat aside - how the aperture is controlled