X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=cable-hole-trunking-cover.scad;h=9491027b75737603bdd822bcf6bf2be9f2addadd;hb=0fa20a1faf9b3042220c54c8328c16c345d881fb;hp=c1b06e07f90bd4319900aa725460d12411595f8c;hpb=cea86458fce86eafafca4d6f30b5e84f57f95398;p=reprap-play.git 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();