Line 38... |
Line 38... |
38 |
|
38 |
|
39 |
posun_p2=10; |
39 |
posun_p2=10; |
40 |
translate([posun_p2*vzdalenost_der,0,0]) |
40 |
translate([posun_p2*vzdalenost_der,0,0]) |
41 |
I2CDIFF01A(tloustka_bocnice,vzdalenost_der); |
41 |
I2CDIFF01A(tloustka_bocnice,vzdalenost_der); |
42 |
|
42 |
|
43 |
posun_p3=1.5; |
43 |
posun_p3=10; |
44 |
translate([posun_p3*vzdalenost_der,0,0]) |
44 |
translate([posun_p3*vzdalenost_der,0,0]) |
45 |
MIC338(tloustka_bocnice,vzdalenost_der,vyska_bocnice); |
45 |
UNIPOWER02A(tloustka_bocnice,vzdalenost_der); |
46 |
|
46 |
|
47 |
} |
47 |
} |
48 |
} |
48 |
} |
49 |
} |
49 |
|
50 |
|
50 |
|
51 |
|
51 |
|
52 |
//Vytvoreni zadniho celicka krabicky |
52 |
//Vytvoreni zadniho celicka krabicky |
53 |
//-------------------------------------------------------- |
53 |
//-------------------------------------------------------- |
54 |
|
54 |
|
55 |
|
55 |
|
- |
|
56 |
translate([((pocet_der2-1)*vzdalenost_der)/2,(pocet_der1-1)*vzdalenost_der+vzdalenost_od_okraje+tloustka_bocnice/2,-(vyska_bocnice/2)]) |
- |
|
57 |
{ |
- |
|
58 |
//složí k posunu otvoru v násobku děr |
- |
|
59 |
posun_z1=0; |
- |
|
60 |
translate([-posun_z1*vzdalenost_der,0,0]) |
- |
|
61 |
rotate(a=[0,0,180]) |
- |
|
62 |
USBI2C01A(tloustka_bocnice,vzdalenost_der); |
- |
|
63 |
|
- |
|
64 |
posun_z2=3; |
- |
|
65 |
|
- |
|
66 |
translate([-posun_z2*vzdalenost_der,0,0]) |
- |
|
67 |
rotate(a=[0,0,180]) |
- |
|
68 |
I2CDIFF01A(tloustka_bocnice,vzdalenost_der); |
- |
|
69 |
|
- |
|
70 |
posun_z3=10; |
- |
|
71 |
translate([-posun_z3*vzdalenost_der,0,0]) |
- |
|
72 |
rotate(a=[0,0,180]) |
- |
|
73 |
MIC338(tloustka_bocnice,vzdalenost_der,vyska_bocnice); |
- |
|
74 |
|
- |
|
75 |
posun_z4=10; |
- |
|
76 |
translate([-posun_z4*vzdalenost_der,0,0]) |
- |
|
77 |
rotate(a=[0,0,180]) |
- |
|
78 |
UNIPOWER02A(tloustka_bocnice,vzdalenost_der); |
- |
|
79 |
|
- |
|
80 |
|
- |
|
81 |
} |
- |
|
82 |
|
- |
|
83 |
|
- |
|
84 |
|
- |
|
85 |
|
56 |
//Vytvoreni leveho celicka krabicky |
86 |
//Vytvoreni leveho celicka krabicky |
57 |
//-------------------------------------------------------- |
87 |
//-------------------------------------------------------- |
58 |
|
88 |
|
59 |
|
89 |
|
60 |
|
90 |
|
- |
|
91 |
translate([-((pocet_der2-1)*vzdalenost_der)/2-vzdalenost_od_okraje-tloustka_bocnice/2,(pocet_der1-1)*vzdalenost_der,-(vyska_bocnice/2)]) |
- |
|
92 |
{ |
- |
|
93 |
//složí k posunu otvoru v násobku děr |
- |
|
94 |
posun_l1=10; |
- |
|
95 |
translate([-posun_l1*vzdalenost_der,0,0]) |
- |
|
96 |
rotate(a=[0,0,-90]) |
- |
|
97 |
USBI2C01A(tloustka_bocnice,vzdalenost_der); |
- |
|
98 |
|
- |
|
99 |
posun_l2=10; |
- |
|
100 |
|
- |
|
101 |
translate([-posun_l2*vzdalenost_der,0,0]) |
- |
|
102 |
rotate(a=[0,0,-90]) |
- |
|
103 |
I2CDIFF01A(tloustka_bocnice,vzdalenost_der); |
- |
|
104 |
|
- |
|
105 |
posun_l3=10; |
- |
|
106 |
translate([-posun_l3*vzdalenost_der,0,0]) |
- |
|
107 |
rotate(a=[0,0,-90]) |
- |
|
108 |
MIC338(tloustka_bocnice,vzdalenost_der,vyska_bocnice); |
- |
|
109 |
|
- |
|
110 |
posun_l4=0; |
- |
|
111 |
translate([-posun_l4*vzdalenost_der,0,0]) |
- |
|
112 |
rotate(a=[0,0,-90]) |
- |
|
113 |
UNIPOWER03A(tloustka_bocnice,vzdalenost_der); |
- |
|
114 |
|
- |
|
115 |
|
- |
|
116 |
} |
- |
|
117 |
|
- |
|
118 |
|
- |
|
119 |
|
- |
|
120 |
|
- |
|
121 |
|
61 |
//Vytvoreni praveho celicka krabicky |
122 |
//Vytvoreni praveho celicka krabicky |
62 |
//-------------------------------------------------------- |
123 |
//-------------------------------------------------------- |
63 |
|
124 |
|
64 |
|
125 |
|
65 |
} |
126 |
} |
- |
|
127 |
} |
66 |
|
128 |
|