Failure is often a sign that you have successfully determined what doesn't work. We have been trying to figure out how to construct a pin joint that is compatible with fused filament fabrication 3D printed plastics, it has taken a few tries to get something that works.
On a previous project, we tried using screws which posed some design challenges and seemed ill suited to production, especially since the nuts kept falling off and the screws seemed prone to fatigue failures due to the rotating radial loads.
Next, we tried using pop rivets to construct a joint.
Next, we redesign to support the rivet from both sides on the same link so that hopefully the joint can rotate.
Next, based on a suggestion from the internet we decided to try tubular rivets. We purchased a HT-174 Hand Rivet Clincher for 1/8 Dia Tubular Rivets for $25 from Hanson Rivet, along with a handful of C4-18-ST Aluminium Rivet. I can highly recommend Hanson Rivet for all your rivet needs.
Grooved Clevis Pins with Retaining Ring'. We are also using some wave springs to make sure everything fits tightly.
Success goes to those who are tenacious.