negative_wall = 4;
midsection = 4;
-$test = true;
-//$test = false;
+spanner = 12;
+
+negative_tpi = 20;
+negative_pitch = inch/negative_tpi;
+negative_chamfer = negative_pitch/2;
+
+//$test = true;
+$test = false;
+$fs=0.1;
+$fa=5;
module Adapter(){
translate([0,0,-0.1])
length= (positive_l + 0.1) / inch);
rotate([180,0,0]) {
difference(){
- cylinder(r= negative_dia/2 + negative_wall,
- h = negative_l + midsection);
+ cylinder(r= spanner/2 * 1/(0.5 * sqrt(3)),
+ h = negative_l + midsection,
+ $fn=6);
translate([0,0, midsection])
- english_thread(diameter=negative_dia/inch, threads_per_inch=20,
- leadin=0, internal=true, test=$test,
+ english_thread(diameter=negative_dia/inch,
+ threads_per_inch=negative_tpi,
+ leadin=1, internal=true, test=$test,
length= (negative_l + inch/19) / inch);
+ translate([0,0, midsection+negative_l]) {
+ hull(){
+ translate([0,0, negative_chamfer])
+ cylinder(r= negative_dia/2 + negative_chamfer*2,
+ h=1);
+ mirror([0,0,1])
+ cylinder(r= negative_dia/2 - negative_chamfer*2,
+ h= negative_chamfer*3);
+ }
+ }
}
}
}