Rev 4579 | Rev 4580 | ||
---|---|---|---|
Line 62... | Line 62... | ||
62 | |
62 | |
63 | translate([-((pocet_der2-1)*vzdalenost_der)/2-vzdalenost_od_okraje-tloustka_bocnice/2,(pocet_der1-1)*vzdalenost_der,-(vyska_bocnice/2)]) |
63 | translate([-((pocet_der2-1)*vzdalenost_der)/2-vzdalenost_od_okraje-tloustka_bocnice/2,(pocet_der1-1)*vzdalenost_der,-(vyska_bocnice/2)]) |
64 | { |
64 | { |
65 | //složí k posunu otvoru v násobku děr |
65 | //složí k posunu otvoru v násobku děr |
66 | posun_l1=10; |
66 | posun_l1=10; |
67 | translate([-posun_l1*vzdalenost_der,0,0]) |
67 | translate([0,-posun_l1*vzdalenost_der,0]) |
68 | rotate(a=[0,0,-90]) |
68 | rotate(a=[0,0,-90]) |
69 | USBI2C01A(tloustka_bocnice,vzdalenost_der); |
69 | USBI2C01A(tloustka_bocnice,vzdalenost_der); |
70 | |
70 | |
71 | posun_l2=10; |
71 | posun_l2=10; |
72 | |
72 | |
73 | translate([-posun_l2*vzdalenost_der,0,0]) |
73 | translate([0,-posun_l2*vzdalenost_der,0]) |
74 | rotate(a=[0,0,-90]) |
74 | rotate(a=[0,0,-90]) |
75 | I2CDIFF01A(tloustka_bocnice,vzdalenost_der); |
75 | I2CDIFF01A(tloustka_bocnice,vzdalenost_der); |
76 | |
76 | |
77 | posun_l3=10; |
77 | posun_l3=10; |
78 | translate([-posun_l3*vzdalenost_der,0,0]) |
78 | translate([0,-posun_l3*vzdalenost_der,0]) |
79 | rotate(a=[0,0,-90]) |
79 | rotate(a=[0,0,-90]) |
80 | MIC338(tloustka_bocnice,vzdalenost_der,vyska_bocnice); |
80 | MIC338(tloustka_bocnice,vzdalenost_der,vyska_bocnice); |
81 | |
81 | |
82 | posun_l4=10; |
82 | posun_l4=0; |
83 | translate([-posun_l4*vzdalenost_der,0,0]) |
83 | translate([0,-posun_l4*vzdalenost_der,0]) |
- | 84 | |
|
84 | rotate(a=[0,0,-90]) |
85 | rotate(a=[0,0,-90]) |
85 | UNIPOWER03A(tloustka_bocnice,vzdalenost_der); |
86 | CHLADICI_OTVORY(tloustka_bocnice,vzdalenost_der,pocet_der1-1,vyska_bocnice); |
86 | |
87 | |
87 | |
88 | |
88 | } |
89 | } |
89 | |
90 | |
90 | |
91 | |
91 | |
92 | |
92 | |
93 | |
93 | |
94 | |
94 | //Vytvoreni praveho celicka krabicky |
95 | //Vytvoreni praveho celicka krabicky |
95 | //-------------------------------------------------------- |
96 | //-------------------------------------------------------- |
- | 97 | translate([+((pocet_der2-1)*vzdalenost_der)/2+vzdalenost_od_okraje+tloustka_bocnice/2,0,-(vyska_bocnice/2)]) |
|
- | 98 | { |
|
- | 99 | //složí k posunu otvoru v násobku děr |
|
- | 100 | posun_pr1=10; |
|
- | 101 | translate([0,posun_pr1*vzdalenost_der,0]) |
|
- | 102 | rotate(a=[0,0,90]) |
|
- | 103 | UNIPOWER03A(tloustka_bocnice,vzdalenost_der); |
|
- | 104 | |
|
- | 105 | posun_pr2=10; |
|
- | 106 | |
|
- | 107 | translate([0,posun_pr2*vzdalenost_der,0]) |
|
- | 108 | rotate(a=[0,0,90]) |
|
- | 109 | I2CDIFF01A(tloustka_bocnice,vzdalenost_der); |
|
- | 110 | |
|
- | 111 | posun_pr3=10; |
|
- | 112 | translate([0,posun_pr3*vzdalenost_der,0]) |
|
- | 113 | rotate(a=[0,0,90]) |
|
- | 114 | MIC338(tloustka_bocnice,vzdalenost_der,vyska_bocnice); |
|
- | 115 | |
|
- | 116 | posun_pr4=0; |
|
- | 117 | translate([0,posun_pr4*vzdalenost_der,0]) |
|
- | 118 | rotate(a=[0,0,90]) |
|
- | 119 | CHLADICI_OTVORY(tloustka_bocnice,vzdalenost_der,pocet_der1-1,vyska_bocnice); |
|
- | 120 | |
|
- | 121 | |
|
- | 122 | } |
|
96 | |
123 | |
97 | |
124 | |
98 | } |
125 | } |
99 | } |
126 | } |
100 | 127 |