This hinge is designed so that it can print without support in the vertical position in one solid piece. If you desire, you can also print the individual pieces and buy or make your own pin.
The single piece will not hold a lot of weight, as the pin size is limited by the barrels, but it is suitable for holding light doors on, connecting wood or plastic objects, etc.
The .stl uploaded is designed for printing with 2 shells. Any more will require modifications to the .scad for tolerancing purposes.
This is a file I wrote two years ago, so let me know if there are weird bugs or missing artifacts within the .scad.
.stl prints with two shells
Print in the upright position so that the holes on the hinge face you during printing.