chiark / gitweb /
ksafe-base: bolt holes
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 31 Oct 2018 00:55:59 +0000 (00:55 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 31 Oct 2018 00:55:59 +0000 (00:55 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
ksafe-base.scad

index 1e2a24ae5937066a8a82d5540ee7748bacd79b11..2f74d7a3e417ff7ea3f58f7dec4442c951924b0c 100644 (file)
@@ -189,7 +189,7 @@ module AtTwoCorners(){
   }
 }
 
-module KsafeBase(){
+module Box(){
   /// corners, and front and back of base
   for (ym=[0,1]) mirror([0,ym,0]) {
     AtTwoCorners(){
@@ -219,6 +219,16 @@ module KsafeBase(){
   rotate([0,0,90]) SWalls(yw6, yw13, bevel) UsualProfile();
 }
 
+module KsafeBase(){
+  difference(){
+    Box();
+
+    // bolt holes
+    translate([0,0, -bolt_above -0.5 * bolthole_height])
+      cube(center=true, [ main_sz + 20, bolthole_width, bolthole_height ]);
+  }
+}
+
 module DemoProfiles(){
   translate([0,0,-2]) color("yellow") AnchorWallProfile();
   color("red") AnchorProfile();
@@ -228,4 +238,5 @@ module DemoProfiles(){
 }
 
 //DemoProfiles();
+//Box();
 KsafeBase();