chiark / gitweb /
cable-hole-trunking-cover: wip, sheared_cube seems to work
[reprap-play.git] / cable-hole-trunking-cover.scad
1 // -*- C -*-
2
3 basex = 30;
4 basey = 45;
5
6 bevelz = 3;
7 bevelslope = 0.75;
8 bevely = bevelz * bevelslope;
9
10 module sheared_cube(sz, xperz, yperz) {
11   multmatrix([[1,0,xperz,0],
12               [0,1,yperz,0],
13               [0,0,1,    0],
14               [0,0,0,    1]])
15     cube(sz);
16 }
17
18 module Base(){
19   sheared_cube([10,20,30], 0.5, 3);
20 //  cube([basew, baseh, 0.1]);
21 //  translate([
22 }
23
24 Base();