use module acmehexbolt_0p375(L) { Lh = 0.25; Dh = 0.75; Dth = 0.375; Lth = L-Lh-0.125; union() { translate([0,0,0]) { cylinder(d=Dh,h=Lh,$fn=6); } translate([0,0,Lh-0.125]) { thread_10tpi(Dth,Lth); } } } acmehexbolt_0p375(4);