chiark / gitweb /
poster-tube-lid: fix showing brace ends
[reprap-play.git] / poster-tube-lid.scad
index 3bad52e1af73953c1f57295648086d4c9f349345..c5b1e8fc45e5cf84b2ff21838b97f31f0e873107 100644 (file)
@@ -13,7 +13,7 @@ rivet_tall = 5.51 + 0.49;
 over_rivet_wall = 0.5;
 side_rivet_gap = 1.5;
 
-bayo_interf = 0.75;
+bayo_interf = 1.25;
 bayo_behind = 3.5;
 bayo_interf_width = 2.0;
 bayo_interf_slope = 0.75;
@@ -34,6 +34,7 @@ bayo_slice_size = 1;
 
 brace_hole_width = 1.0;
 brace_above_below = 1.2;
+brace_end_shorter = 0.3;
 
 jig_thick = 1.4;
 jig_hole_dia = 3.0;
@@ -83,7 +84,8 @@ bayo_l = bayo_m + bayo_interf * [ 1/bayo_interf_slope,  1 ];
 bayo_k = bayo_l + [ bayo_interf_width, 0 ];
 bayo_j = bayo_k + bayo_interf * [ 1/bayo_interf_slope, -1 ];
 bayo_i = bayo_j + [ rivet_width, 0 ];
-bayo_h = [ bayo_i[0], bayo_behind + rivet_thick + bayo_above_gap ];
+bayo_h = [ bayo_i[0], bayo_behind + rivet_thick
+                     + bayo_above_gap + bayo_interf ];
 bayo_g = [ bayo_m[0] - rivet_width, bayo_h[1] ];
 
 bayo_e = [-bayo_p[0], bayo_p[1]] - [rivet_entry_width,0];
@@ -204,7 +206,8 @@ module Cover(){ ////toplevel
       rotate([0,0, r]) {
        height = top_thick - brace_above_below*2;
        translate([0,0, seal_thick + brace_above_below + height/2 ])
-       cube(center=true, [ main_dia, brace_hole_width, height ]);
+       cube(center=true, [ oring_bore - brace_end_shorter,
+                           brace_hole_width, height ]);
       }
     }
   }