chiark / gitweb /
ksafe-base: refactor BoltHoles (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 31 Oct 2018 02:34:52 +0000 (02:34 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 31 Oct 2018 02:34:52 +0000 (02:34 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
ksafe-base.scad

index 42b2749592087c9fda04a99a3b51418d98dceb01..5d7c0583e298d2d9cca82099b2c315e7629a7b7b 100644 (file)
@@ -290,7 +290,7 @@ module DCoverSupportAllowance(){
 }
 
 module BoltHoles(){
 }
 
 module BoltHoles(){
-  translate([0,0, -bolt_above -0.5 * bolthole_height])
+  translate([0,0, -(bolt_above + 0.5 * bolthole_height)])
     cube(center=true, [ cut, bolthole_width, bolthole_height ]);
 }
 
     cube(center=true, [ cut, bolthole_width, bolthole_height ]);
 }