chiark / gitweb /
ksafe-base: dcover wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 31 Oct 2018 02:25:32 +0000 (02:25 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 31 Oct 2018 02:25:32 +0000 (02:25 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
ksafe-base.scad

index 9ea0ccd..a291a52 100644 (file)
@@ -8,6 +8,7 @@ bolthole_width = 16.62 + 2.00;
 main_sz = 150.56 + 0.75;
 cnr_rad = 13.5; // approx
 lidinner_thick_allow = 20.78 + 0.50;
+display_width = 69.81 - 0.50;
 
 dpp3 = [ -5.5, 8.5 ];
 dpp2 = [ -11.0, 7.0 ];
@@ -31,13 +32,14 @@ thumbslot_depth = 5.0;
 thumbslot_width = 15.0;
 thumbslot_between = 10;
 ksafecover_lip = 4.62;
-display_width = 69.81 - 0.50;
+display_rhs_secs = 15;
 dcover_endthick = 3.0;
 dcover_mainthick = 5.0;
 dcover_slop_height = 0.35;
 dcover_slop_depth = 0.25;
 dcover_slop_inside = 1.50;
 dcover_commonvertoff = 0.00; // slop_height or slop_inside is added too
+dcover_edge_gap_more_width = 2.0; // each side
 
 // ----- calculated -----
 
@@ -270,9 +272,19 @@ module Box(){
   rotate([0,0,90]) SWalls(yw6, yw13, bevel) UsualProfile();
 }
 
+module DCover(){ ////toplevel
+  translate([ -display_width/2, -hsz, 0 ])
+    rotate([0,90,0])
+    rotate([0,0,90])
+    linear_extrude( display_width - display_rhs_secs, convexity = 10)
+    DCoverProfile();
+}
+
 module KsafeBase(){ ////toplevel
   cut = main_sz + 20;
 
+  DCover();
+
   difference(){
     Box();
 
@@ -298,6 +310,13 @@ module KsafeBase(){ ////toplevel
               cut,
               thumbslot_depth+1 ]);
     }
+
+    // support frass area by display cover
+    translate([0, -hsz, 0])
+      cube(center=true,
+          [ display_width + 2 * dcover_edge_gap_more_width,
+            wall_thick * 2,
+            dcover_slop_inside * 2 + 0.01 ]);
   }
 }