3 // properties of the knives
5 widths = [15.5, 15.8, 19.0];
7 handlelendelta = [-15, 0, 10];
8 locations = [-35, 0, 40];
12 templatescale = 27.2 / 19.6;
23 screwbackdepth = 6.0 - 1.0;
25 screwcsinkdia = 9.8 + 1.0;
30 side = minsidein + screwcsinkdia + minsideout;
31 totaldepth = front + maxhandledepth + back;
33 module ImportTemplate(w,k,t) {
34 fn = str("knifeblock-knives-t",k,t,".dxf");
36 translate([0,0, -w/2])
37 linear_extrude(height=w)
38 scale(templatescale) import(file=fn, convexity=100);
42 ImportTemplate(bladew, k,"bl");
44 ImportTemplate(widths[k], k,"hl");
46 ImportTemplate(widths[k], k,"hl");
51 translate([locations[k],0,0]){
53 translate([-(handlelenbase + handlelendelta[k]),0,0])
66 cylinder(r=screwdia/2, h=150, $fn=40);
67 translate([0, totaldepth-front - screwbackdepth, 0])
69 cylinder(r=screwcsinkdia/2 / (sqrt(3)/2), h=100, $fn=6);
73 minkx = locations[0] - widths[0] /2;
74 maxkx = locations[nknives-1] + widths[nknives-1]/2;
79 sidemidx = minsideout + screwcsinkdia/2;
82 hull() mirror([0,0,1]) {
83 translate([minx, 0, 0])
84 cube([maxx-minx, totaldepth-front, height]);
85 for (x=[minx + front/2, maxx - front/2])
86 translate([x, -front/2, 0])
87 cylinder(r=front/2, h=height, $fn=30);
89 for (x=[minx + sidemidx, maxx - sidemidx]) {
90 translate([x, 0, -screwabove])
94 translate([0, yshift * frontbackslop, 0])
99 module BlockPrint(){ ////toplevel
104 module Demo(){ ////toplevel