chiark / gitweb /
poster-tube-lid: CoverTest1 has 4 columns
[reprap-play.git] / poster-tube-lid.scad
index e0735787138b5fb961b2e706390963ecfea741bd..a06567b607ed2fc9d398e321b161bf909fde65fd 100644 (file)
@@ -2,10 +2,10 @@
 
 main_dia = 71.2 + 0.50 - 2.26;
 top_thick_middle = 4;
-top_thick_by_oring = 2.5;
+top_thick_by_oring = 3.0;
 top_middle_dr = 11;
 
-main_cnr = 4.0;
+main_cnr = 6.0;
 
 rivet_posn = 6.0;
 rivet_thick = 1.67;
@@ -58,15 +58,12 @@ oring_oblate = (1 - oring_compress);
 oring_y_rad = oring_thick/2 * oring_oblate;
 oring_x_rad = oring_thick/2 / oring_oblate;
 
-seal_thick = oring_y_rad * (1 + cos(oring_upper_embed_angle));
+by_oring_z = oring_y_rad * (1 + cos(oring_upper_embed_angle));
 
 side_height = rivet_posn + bayo_behind + rivet_thick/2;
 side_thick = rivet_tall + over_rivet_wall;
 
-top_thick = max(top_thick_middle,
-               top_thick_by_oring + oring_y_rad);
-
-top_z = top_thick + seal_thick;
+top_z = top_thick_by_oring + oring_y_rad + by_oring_z;
 
 middle_bot_z = top_z - top_thick_middle;
 
@@ -140,8 +137,8 @@ module MainProfile(){
               [ side_thick,            -side_height      ],
               [ side_taper,            -side_height      ],
               [ 0,                     -rivet_posn       ],
-              [ 0,                     seal_thick        ],
-              [ -oring_x_rad,          seal_thick        ],
+              [ 0,                     by_oring_z        ],
+              [ -oring_x_rad,          by_oring_z        ],
               ],
              convexity=10);
     }
@@ -212,7 +209,7 @@ module Cover(){ ////toplevel
        BayonetCutout();
     for (r=[0 : 60 : 179]) {
       rotate([0,0, r]) {
-       height = top_thick - brace_above_below*2;
+       height = top_thick_middle - brace_above_below*2;
        translate([0,0, middle_bot_z + brace_above_below + height/2 ])
        cube(center=true, [ oring_bore - brace_end_shorter,
                            brace_hole_width, height ]);
@@ -255,8 +252,13 @@ module CoverTest2(){ ////toplevel
 module CoverTest1(){ ////toplevel
   difference(){
     CoverTest2();
-    translate([0,0, -10])
-      cube([ main_dia*3, main_dia * .85, 20], center=true);
+    for (r= [ 40, 147 ]){
+      rotate([0,0, r]){
+       translate([0,0, -10]) {
+         cube([ main_dia*3, main_dia * .55, 20], center=true);
+       }
+      }
+    }
   }
 }