chiark / gitweb /
filamenttrestle thicker block
[reprap-play.git] / filamenttrestle.scad
index b546360b4f6ba68d296ad07537a6df5cb292b46d..9d9e41f6a54000a16213061ee07c1b10a9804850 100644 (file)
@@ -22,7 +22,7 @@ trestlelegw = 10;
 trestlebaseh = 10;
 trestleplugd = 1;
 
-topblockthick = 3;
+topblockthick = 4;
 topblockbasedepth = 4;
 
 pinbasew = 3;
@@ -72,7 +72,7 @@ module Bar(){
 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;
@@ -106,7 +106,7 @@ module Trestle(){
     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],