4237 |
jacho |
1 |
pocet_der1=15; |
|
|
2 |
pocet_der2=11; |
|
|
3 |
polomer=5; |
|
|
4 |
vzdalenost_der=10.16; |
|
|
5 |
|
|
|
6 |
|
|
|
7 |
module plbase(){ |
|
|
8 |
|
|
|
9 |
minkowski() |
|
|
10 |
{ |
|
|
11 |
cube([180,110,2]); // base plastics brick |
|
|
12 |
cylinder(r=5,h=0.1); |
|
|
13 |
} |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
} |
|
|
17 |
|
|
|
18 |
plbase(); |
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
/* |
|
|
31 |
|
|
|
32 |
pedestal_height = 2; // designed for use the MLAB standard 12mm screws. |
|
|
33 |
mount_hole = 3.5; |
|
|
34 |
clear = 0.175; |
|
|
35 |
|
|
|
36 |
MLAB_grid_xoffset = 3.88; |
|
|
37 |
MLAB_grid_yoffset = 4.2; |
|
|
38 |
MLAB_grid = 10.16; |
|
|
39 |
|
|
|
40 |
legs_height = 5; |
|
|
41 |
|
|
|
42 |
$fn=20; |
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
module leg () { |
|
|
60 |
difference () { |
|
|
61 |
cylinder(r=MLAB_grid/2 + 0.3,h=legs_height); |
|
|
62 |
cylinder(r=MLAB_grid/2 - 0.3,h=legs_height); |
|
|
63 |
} |
|
|
64 |
} |
|
|
65 |
|
|
|
66 |
difference () { |
|
|
67 |
minkowski() |
|
|
68 |
{ |
|
|
69 |
cube([150,110,pedestal_height]); // base plastics brick |
|
|
70 |
cylinder(r=5,h=0.1); |
|
|
71 |
} |
|
|
72 |
// MLAB grid holes |
|
|
73 |
grid_list = [for (j = [MLAB_grid_xoffset : MLAB_grid: 150], i = [MLAB_grid_yoffset :MLAB_grid: 110]) [j, i] ]; |
|
|
74 |
for (j = grid_list) { |
|
|
75 |
translate (concat(j, [0])) |
|
|
76 |
cylinder (h = 2*pedestal_height, r= mount_hole/2); |
|
|
77 |
} |
|
|
78 |
} |
|
|
79 |
|
|
|
80 |
translate ([MLAB_grid_xoffset, MLAB_grid_yoffset, 2]) |
|
|
81 |
leg(); |
|
|
82 |
|
|
|
83 |
translate ([MLAB_grid_xoffset + 14*MLAB_grid, MLAB_grid_yoffset, 2]) |
|
|
84 |
leg(); |
|
|
85 |
|
|
|
86 |
translate ([MLAB_grid_xoffset + 14*MLAB_grid, MLAB_grid_yoffset + 10*MLAB_grid, 2]) |
|
|
87 |
leg(); |
|
|
88 |
|
|
|
89 |
translate ([MLAB_grid_xoffset + 7*MLAB_grid, MLAB_grid_yoffset + 5*MLAB_grid, 2]) |
|
|
90 |
leg(); |
|
|
91 |
|
|
|
92 |
translate ([MLAB_grid_xoffset, MLAB_grid_yoffset + 10*MLAB_grid, 2]) |
|
|
93 |
leg(); |
|
|
94 |
*/ |