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 87a603180b52e77ffbfd06e307eb8839637f1e85..c9ddf77cd0a9e2d79084e800653cc2501e6a932a 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 ]);
   }
 }