chiark / gitweb /
ksafe-base: toplevels
[reprap-play.git] / ksafe-base.scad
index c9ddf77cd0a9e2d79084e800653cc2501e6a932a..d6daa8f91bf3b0e5eb0be822a9a02d8d529edd95 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 -----
 
@@ -219,7 +221,7 @@ module Box(){
   rotate([0,0,90]) SWalls(yw6, yw13, bevel) UsualProfile();
 }
 
-module KsafeBase(){
+module KsafeBase(){ ////toplevel
   cut = main_sz + 20;
 
   difference(){
@@ -228,6 +230,15 @@ module KsafeBase(){
     // bolt holes
     translate([0,0, -bolt_above -0.5 * 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 ]);
   }
 }
 
@@ -241,4 +252,5 @@ module DemoProfiles(){
 
 //DemoProfiles();
 //Box();
-KsafeBase();
+//KsafeBase();
+//RimTest();