chiark / gitweb /
ksafe-base: cutting, introduce cut (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 31 Oct 2018 01:07:35 +0000 (01:07 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 31 Oct 2018 01:07:35 +0000 (01:07 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
ksafe-base.scad

index 87a6031..c9ddf77 100644 (file)
@@ -220,12 +220,14 @@ 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 ]);
   }
 }