trestlebaseh = 10;
trestleplugd = 1;
-topblockthick = 3;
+topblockthick = 4;
topblockbasedepth = 4;
pinbasew = 3;
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;
pinholeh = pinminh + pindh;
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],