8 // from careful measurement
11 [[ 6, [0.6, 6.0], [1.6, 12.3] ],
12 [ 8, [1.1, 6.2], [1.9, 12.5] ],
13 [ 10, [1.6, 6.5], [2.1, 12.8] ],
14 [ 12, [1.8, 6.6], [2.3, 12.7] ],
15 [ 14, [2.1, 6.8], [2.6, 13.0] ],
16 [ 16, [2.4, 6.9], [2.7, 13.2] ]];
18 crewpunch_systematic_size_error = +0.36;
20 crewpunch_min_y = 4.7 - crewpunch_systematic_size_error;
24 crewpunch_smallest_shape = crewpunch_shape[0];
25 crewpunch_biggest_shape = crewpunch_shape[len(crewpunch_shape)-1];
27 holder_block_zsz = crewpunch_biggest_shape[0] - crewpunch_smallest_shape[0];
28 holder_xsz = crewpunch_biggest_shape[0][0] + crewpunch_biggest_shape[0][1] +
30 holder_ysz = crewpunch_biggest_shape[1][0] + crewpunch_biggest_shape[1][1] +
31 holder_min_wall + holder_front_wall;
36 ourslop = crewpunch_slop - crewpunch_systematic_size_error;
38 for(layer=crewpunch_shape){
39 translate([0,0, layer[0]]){
40 for(xind=[0,1]) //translate([xind?0:1,0,0])
41 for(yind=[0,1]) //translate([0,yind?0.5:0,0])
42 mirror([xind?1:0,0,0]) mirror([0,yind?0:1,0]){
43 translate([-0.1,-0.1,-0.1])
44 cube([0.1 + layer[2][xind] + ourslop,
45 0.1 + layer[1][yind] + ourslop,
55 cube([holder_xsz, holder_ysz, holder_block_zsz]);