guidewidth = 3;
guiderad = 20;
-plugl = 12;
+legw = 12;
+plugl = 16;
plugwmin = 3;
plugh = 10;
plugslope = 0.5;
trestlebaseh = 10;
trestleplugd = 1;
-topblockthick = 3;
+topblockthick = 4;
topblockbasedepth = 4;
pinbasew = 3;
-pinminh = 1.0;
-pinmaxh = 3;
+pinminh = 1.5;
+pinmaxh = 4.0;
pindh = 1.0;
pindwidth = 1.0;
module Trestle(){
legang = atan2(trestlebase/2, trestleheight);
eplen = sqrt(trestleheight*trestleheight + trestlebase*trestlebase*0.25);
- topblockw = plugwmax + topblockthick*2;
+ topblockw = plugwmax + trestleplugd*2 + topblockthick*2;
- pinholebasew = pinbasew + pindwidth;
+ pinholebasew = pinbasew + pindwidth*2;
pinholeh = pinminh + pindh;
difference(){
rotate([0,0, -90-legang])
ExtenderPillars(length=eplen+trestlelegw,
width=trestlelegw,
- height=plugl,
+ height=legw,
baseweb=true);
translate([-trestlebase/2, -trestleheight, 0])
cube([topblockw, topblockbasedepth + plugh + topblockthick, plugl]);
translate([-trestlebase/2, -trestleheight, 0])
- ExtenderPillars(length=trestlebase, width=trestlebaseh*2, height=plugl);
+ ExtenderPillars(length=trestlebase, width=trestlebaseh*2, height=legw);
}
translate([-300, -trestleheight-50, -1])
cube([600, 50, plugl+2]);
for (rot=[0,180]) {
translate([0,0,plugl/2]) rotate([0,rot,0]) translate([0,0,-plugl/2]) {
translate([-(topblockw*0.25+1),
- plugh,
+ plugh + pindh - (pinmaxh - pinminh)/2,
(plugl - pinholebasew*2)/3]) rotate([0,90,0]) {
linear_extrude(height = topblockw*1.0+2) {
polygon([[-1.0 * pinholebasew, -0.01],