The pins in this version are a little stronger and their slightly different shape makes them easier to insert and less likely to break. It also lets you make pegs which are printed horizontally so they are much stronger. Pegs can be used to join two parts that have holes in them. The pinholes also now have a small bevel in them to help make it easier to insert.
The syntax is totally different as well. It was kind of dumb to use global variables in the last version, now you pass the variables to each method so it's easier to have pins of various sizes in one project.
// h = shaft height
// r = shaft radius
// lh = lip height
// lt = lip thickness
module pin(h=10, r=4, lh=3, lt=1, side=false)
// side = set to true if you want it printed horizontally
module pintack(h=10, r=4, lh=3, lt=1, bh=3, br=8.75)
// bh = base_height
// br = base_radius
module pinpeg(h=20, r=4, lh=3, lt=1)
// h = in this case, h is the length of both pins combined
module pinhole(h=10, r=4, lh=3, lt=1, t=0.3, tight=true)
// t = tolerance
// tight = set to false if you want a joint that spins easily