3 spoolwidth = 80; // fixme needs to be measured
4 trestleheight = 80; // fixme needs to be checked
5 trestlebase = 80; // fixme needs to be checked
7 include <doveclip.scad>
20 plugwmax = plugwmin + plugh * plugslope * 2;
27 topblockbasedepth = 4;
35 pintaperlen = plugwmax * 0.85;
44 tdx = bdx + dh * plugslope;
45 translate([-d,0,0]) rotate([90,0,90]) linear_extrude(height=plugl+0.1+d*2){
46 polygon([[-(plugwmin/2 + bdx), 0],
47 [-(plugwmax/2 + tdx), plugh + tdy],
48 [+(plugwmax/2 + tdx), plugh + tdy],
49 [+(plugwmin/2 + bdx), 0]]);
54 spoolw = spoolwidth + spoolwidthgap*2;
56 biggestw = spoolw + 50;
61 translate([0,0,barz]) {
62 scale([1,barrady,barradz]) translate([-1,0,0])
63 rotate([0,90,0]) cylinder(r=1, h=spoolw/2+2, $fn=30);
64 translate([spoolw/2,0,0])
65 rotate([0,90,0]) cylinder(r=guiderad, h=guidewidth, $fn=60);
67 translate([spoolw/2 + guidewidth, 0, 0])
71 translate([-biggestw/2, -50, 0])
72 cube([biggestw, 100, 100]);
77 legang = atan2(trestlebase/2, trestleheight);
78 eplen = sqrt(trestleheight*trestleheight + trestlebase*trestlebase*0.25);
79 topblockw = plugwmax + trestleplugd*2 + topblockthick*2;
81 pinholebasew = pinbasew + pindwidth*2;
82 pinholeh = pinmaxh + pindh;
88 rotate([0,0, -90-legang])
89 ExtenderPillars(length=eplen+trestlelegw,
94 translate([-trestlebase/2, -trestleheight, 0])
95 cylinder(r=trestlelegw/2*1.2, h=plugl);
98 translate([-topblockw/2, -topblockbasedepth, 0])
100 topblockbasedepth + plugh + topblockthick
101 + (pinmaxh - pinminh)*0.6 + pindh,
104 translate([-trestlebase/2, -trestleheight, 0])
105 ExtenderPillars(length=trestlebase, width=trestlebaseh*2, height=legw);
107 translate([-300, -trestleheight-50, -1])
108 cube([600, 50, plugl+2]);
111 Plug(d=trestleplugd);
114 translate([0,0,plugl/2]) rotate([0,rot,0]) translate([0,0,-plugl/2]) {
115 translate([-(topblockw*0.25+1),
116 plugh + pindh - (pinmaxh - pinminh)*0.5,
117 (plugl - pinholebasew*2)/3]) {
118 translate([0,0,pinholebasew/2]) rotate([-90,0,0]) %Pin();
120 linear_extrude(height = topblockw*1.0+2) {
121 polygon([[-1.0 * pinholebasew, -0.01],
122 [-0.5 * pinholebasew, pinholeh],
137 linear_extrude(height=0.1) {
140 [pinbasew*0.5*(pinminh/pinmaxh), 0]]);
142 translate([0,0,pintaperlen])
143 linear_extrude(height=pinstraightlen) {
159 //ExtenderPillars(80,12,8, baseweb=true);