From: Ian Jackson Date: Sun, 16 Dec 2012 18:28:46 +0000 (+0000) Subject: cable-hole-trunking-cover: wip, sheared_cube seems to work X-Git-Tag: filamentspool-v2-release~611 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e2c3928b679ee33d777a68f6f91825803ba885a3;p=reprap-play.git cable-hole-trunking-cover: wip, sheared_cube seems to work --- diff --git a/cable-hole-trunking-cover.scad b/cable-hole-trunking-cover.scad new file mode 100644 index 0000000..037e240 --- /dev/null +++ b/cable-hole-trunking-cover.scad @@ -0,0 +1,24 @@ +// -*- C -*- + +basex = 30; +basey = 45; + +bevelz = 3; +bevelslope = 0.75; +bevely = bevelz * bevelslope; + +module sheared_cube(sz, xperz, yperz) { + multmatrix([[1,0,xperz,0], + [0,1,yperz,0], + [0,0,1, 0], + [0,0,0, 1]]) + cube(sz); +} + +module Base(){ + sheared_cube([10,20,30], 0.5, 3); +// cube([basew, baseh, 0.1]); +// translate([ +} + +Base();