chiark / gitweb /
ksafe-base: string slots
[reprap-play.git] / ksafe-base.scad
index 87a603180b52e77ffbfd06e307eb8839637f1e85..4441b2a5713508b2123d40eef0d139405c93061d 100644 (file)
@@ -21,6 +21,8 @@ space = 25;
 anchor_thick = 4;
 anchor_rad = 4;
 bevel = 8;
+string_slot = 3.0;
+string_depth = 6.0;
 
 // ----- calculated -----
 
@@ -220,12 +222,23 @@ module Box(){
 }
 
 module KsafeBase(){
+  cut = main_sz + 20;
+
   difference(){
     Box();
 
     // bolt holes
     translate([0,0, -bolt_above -0.5 * bolthole_height])
-      cube(center=true, [ main_sz + 20, bolthole_width, bolthole_height ]);
+      cube(center=true, [ cut, bolthole_width, bolthole_height ]);
+
+    // string slot
+    translate([ -cut,
+               -(bolthole_width/2 + bolthole_rhs),
+               1 ])
+      mirror([0,1,0]) mirror([0,0,1])
+      cube([ cut*2,
+            string_slot,
+            lidinner_thick_allow + string_depth + 1 ]);
   }
 }