chiark / gitweb /
cable-hole-trunking-cover: separate basebevelt
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Dec 2012 20:32:00 +0000 (20:32 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Dec 2012 20:32:00 +0000 (20:32 +0000)
cable-hole-trunking-cover.scad

index 9961a35..744c923 100644 (file)
@@ -16,6 +16,7 @@ basey = holedia + tapewidth*2;
 bevelz = 3;
 bevelslope = 0.75;
 bevely = bevelz * bevelslope;
+basebevelt = 3;
 
 sideslop = 0.5;
 
@@ -40,8 +41,8 @@ module Base(cutouty){
   difference(){
     union(){
       for (mir=[0,1]) mirror([0,mir,0]) {
-       translate([0, basey/2 - sidewallt, 0])
-         sheared_cube([basex, sidewallt, bevelz], 0, bevelslope);
+       translate([0, basey/2 - basebevelt, 0])
+         sheared_cube([basex, basebevelt, bevelz], 0, bevelslope);
        cube([basex, basey/2, basebaset]);
       }
     }