include <doveclip.scad>
include <axlepin.scad>
-spoolwidthgap = 2;
+spoolinnerslop = 2;
+
barrad = 7;
-barwasherrad = 20;
+barwasherrad = 17;
legw = 12;
plugl = 20;
pintaperlen = plugwmax * 0.85;
pinstraightlen = 10;
+spoolouterpad = AxlePin_holerad()*2 * 1.5;
+spoolbarlen = spoolwidth +
+ 2*(Washer_thick() + AxlePin_holerad() + spoolinnerslop + spoolouterpad);
+
module Plug(d=0){
dw = d;
dh = d;
}
module Bar(){ ////toplevel
- spoolw = spoolwidth + spoolwidthgap*2;
+ spoolw = spoolbarlen;
barz = barrad * 0.5;
biggestw = spoolw + 50;
cube([spoolw/2+1.1, 100, 100]);
}
}
- translate([-biggestw/2, -50, 0])
- cube([biggestw, 100, 100]);
+ difference(){
+ translate([-biggestw/2, -50, 0])
+ cube([biggestw, 100, 100]);
+ for (mir=[0,1]) {
+ mirror([mir,0,0])
+ translate([spoolwidth/2 + Washer_thick() + spoolinnerslop +
+ AxlePin_holerad()*0.5,
+ 0, -50])
+ cylinder(r=AxlePin_holerad(), 100, $fn=15);
+ }
+ }
translate([0,0,barz]) {
translate([-100,0,0])
rotate([0,90,0]) cylinder(r=barrad, h=200, $fn=30);
}
}
-module FtAxlePin(){
+module FtAxlePin(){ ////toplevel
AxlePin(barrad, (barrad + barwasherrad*2)/3 * 2);
}
+module AxleWasher(){ ////toplevel
+ Washer(barrad, barwasherrad);
+}
+
module Trestle(){ ////toplevel
legang = atan2(trestlebase/2, trestleheight);
eplen = sqrt(trestleheight*trestleheight + trestlebase*trestlebase*0.25);
}
}
-//Bar();
-FtAxlePin();
+Bar();
+//FtAxlePin();
+//AxleWasher();
//Trestle();
//Pin();
//TestKit();