chiark / gitweb /
cable-hole-trunking-cover: nearly done?
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Dec 2012 19:58:56 +0000 (19:58 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Dec 2012 19:58:56 +0000 (19:58 +0000)
cable-hole-trunking-cover.scad

index c1b06e07f90bd4319900aa725460d12411595f8c..9491027b75737603bdd822bcf6bf2be9f2addadd 100644 (file)
@@ -6,6 +6,8 @@ sidewidth = 5;
 tapewidth = 7;
 tapethick = 1;
 
+cutoutsz= 10;
+
 innerz = 10;
 
 basex = holedia + sidewidth*2;
@@ -33,7 +35,8 @@ module sheared_cube(sz, xperz, yperz) {
     cube(sz);
 }
 
-module Base(){
+module Base(cutouty){
+  echo(cutouty);
   difference(){
     union(){
       for (mir=[0,1]) mirror([0,mir,0]) {
@@ -55,6 +58,8 @@ module Base(){
                     [basey/2 + bevely, innerz],
                     [-0.1,             innerz]]);
        }
+       translate([cutouty, 0])
+         square(size=[cutoutsz, 3*innerz], center=true);
       }
     }
   }
@@ -75,5 +80,18 @@ module Lid(){
   }
 }
 
-Base();
-%Lid();
+module LidT(){ ////toplevel
+  rotate([180,0,0]) Lid();
+}
+
+module BaseCMid(){ ////toplevel
+  Base(0);
+}
+
+module BaseCTop(){ ////toplevel
+  Base(basey/2 + bevely - cutoutsz/2);
+}
+
+//BaseCTop();
+//BaseCMid();
+//LidT();