As far as weight and torsion capabilities, a cylindrical pin and the unthreaded shank length of a bolt have the same geometry, so both would be acceptable in that respect. The reentrant edge of a screw or bolt with a flanged head would cause a stress concentration, so if that's a concern, you...