chiark / gitweb /
poster-tube-lid: abolish top_thick (which is now not really meaningful)
[reprap-play.git] / poster-tube-lid.scad
index e0735787138b5fb961b2e706390963ecfea741bd..deb51e5d444ccabe8753dfe631bc754be4724789 100644 (file)
@@ -63,10 +63,7 @@ seal_thick = 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 + seal_thick;
 
 middle_bot_z = top_z - top_thick_middle;
 
@@ -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 ]);