From 0fa20a1faf9b3042220c54c8328c16c345d881fb Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 16 Dec 2012 19:58:56 +0000 Subject: [PATCH] cable-hole-trunking-cover: nearly done? --- cable-hole-trunking-cover.scad | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/cable-hole-trunking-cover.scad b/cable-hole-trunking-cover.scad index c1b06e0..9491027 100644 --- a/cable-hole-trunking-cover.scad +++ b/cable-hole-trunking-cover.scad @@ -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(); -- 2.30.2