Customizable simple pin connector

by sphynx, published

Customizable simple pin connector by sphynx Feb 1, 2013


A new version of the pin connector.

More from Parts

view more

Liked By

view all

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag. Print Thing Tag


A new rewritten version of the pin connector. I don't like reinventing the wheel, but I felt the need to rewrite this because I needed a few more variable parameters and couldn't easily see where to make the changes in the original code. It just does simple double ended pins - no holes etc.

It is a customizable thing.

You can vary the following parameters:

// The total length of the pin. pin_length = 67; // The radius of the pin shaft. pin_radius = 3.5; // The length of the head of the pin. pin_head_length = 4; // The lip around the pin head. This is the bit that grips the sides of the pin hole. pin_head_lip = 0.6; // The length of the slot on the pin. slot_length = 10; // The width of the slot in the pin. slot_width = 2; // The number of sides of the pin shaft and pin head. sides = 30; // The fractional flattening of the shaft. For example with a pin shaft radius of 5mm, then 0.1 puts 0.5mm deep flats on the pin. flat = 0.2;