Rev Author Line No. Line
3904 kaklik 1 height = 50;
2 mount_hole = 3.5;
3 clear = 0.175;
4 thickness = 1.2;
4217 roman 5 baseboard_thickness = thickness;
6  
4215 roman 7 teeth_width = 8;
4217 roman 8 teeth_count = 3;
4215 roman 9 teeth_size = 1;
3904 kaklik 10  
4217 roman 11 panel_A_width = 80;
12 panel_A_height = 45;
13 panel_A_thickeness = 1;
14  
15 panel_B_width = 0; // not implemented yet
16 panel_B_height = 0;
17 panel_B_thickeness = 0;
18  
3904 kaklik 19 $fn=20;
20  
21 module leg () {
22 difference () {
23 cylinder(r=MLAB_grid/2 + 0.3,h=legs_height);
24 cylinder(r=MLAB_grid/2 - 0.3,h=legs_height);
25 }
26 }
27  
4215 roman 28  
4217 roman 29 for(count = [1:teeth_count]){ // teeth
30 position = 150/(teeth_count+1)*count;
31 translate ([position-teeth_width/2+1,-5+thickness/2,0]) cube([teeth_width-1, teeth_size, 5-baseboard_thickness]);
32 translate ([position-teeth_width/2+1,110+5-thickness/2,0]) cube([teeth_width-1, teeth_size, 5-baseboard_thickness]);
33 //#translate ([position-teeth_width/2+1,110+5-thickness/2,0]) cylinder(teeth_size, teeth_width);
34 }
35  
36  
3904 kaklik 37 difference () {
4215 roman 38 minkowski() {
39 cube([150+thickness/2,110+thickness/2,height+thickness/2]); // base plastics brick
40 cylinder(r=5,h=0.1);
41 }
4217 roman 42 union(){
43  
44 translate([-5,5+(100-panel_A_width)/2,0]) // Panel A space
45 #cube([thickness,panel_A_width,panel_A_height+5]);
46  
4215 roman 47 translate ([thickness, thickness, 0])
48 minkowski() {
49 cube([150-thickness, 110-thickness, height]); // hollow
50 cylinder(r=5,h=0.1);
51 }
3911 kaklik 52  
4215 roman 53 translate ([thickness/2, thickness/2, 0])
54 difference () {
55 minkowski() {
56 cube([150-thickness/2+clear, 110-thickness/2+clear, 5]); // hollow for BASE1115
57 cylinder(r=5,h=0.1);
58 }
59 }
4217 roman 60 /*for(count = [1:teeth_count]){ // teeth space
4215 roman 61 position = 150/(teeth_count+1)*count;
62 translate ([position-teeth_width/2,-5-thickness,0]) cube([1,110+10+2*thickness,5]);
63 translate ([position+teeth_width/2,-5-thickness,0]) cube([1,110+10+2*thickness,5]);
4217 roman 64 }*/
65 }
3904 kaklik 66 }
4217 roman 67  
68