Line 62... |
Line 62... |
62 |
//sloupek 4 |
62 |
//sloupek 4 |
63 |
|
63 |
|
64 |
translate([-((pocet_der2)*vzdalenost_der)/2-vzdalenost_od_okraje+prumer_matice/2, (pocet_der1)*vzdalenost_der+vzdalenost_od_okraje-prumer_matice/2,vyska_bocnice/2-(vyska_matice+2*tloustka_bocnice+0.1)-tloustka_plbase]) |
64 |
translate([-((pocet_der2)*vzdalenost_der)/2-vzdalenost_od_okraje+prumer_matice/2, (pocet_der1)*vzdalenost_der+vzdalenost_od_okraje-prumer_matice/2,vyska_bocnice/2-(vyska_matice+2*tloustka_bocnice+0.1)-tloustka_plbase]) |
65 |
rotate(a=[0,0,270]) |
65 |
rotate(a=[0,0,270]) |
66 |
sloupek (); |
66 |
sloupek (); |
- |
|
67 |
|
- |
|
68 |
//uchyt 1 |
- |
|
69 |
translate([(-(pocet_der2)*vzdalenost_der)/2-vzdalenost_od_okraje-Uchyt_radius/2-Uchyt_x+0.5,-vzdalenost_od_okraje+vzdalenost_der/2,-vyska_bocnice/2-tloustka_plbase]) |
- |
|
70 |
uchyt(); |
- |
|
71 |
|
- |
|
72 |
//uchyt 2 |
- |
|
73 |
translate([((pocet_der2)*vzdalenost_der)/2+vzdalenost_od_okraje+tloustka_bocnice+Uchyt_radius-0.5,-vzdalenost_od_okraje+vzdalenost_der/2,-vyska_bocnice/2-tloustka_plbase]) |
- |
|
74 |
uchyt(); |
- |
|
75 |
|
- |
|
76 |
//uchyt 3 |
- |
|
77 |
translate([(-(pocet_der2)*vzdalenost_der)/2-vzdalenost_od_okraje-Uchyt_radius/2-Uchyt_x+0.5,(pocet_der1)*vzdalenost_der+vzdalenost_od_okraje-Uchyt_y+Uchyt_radius-vzdalenost_der/2,-vyska_bocnice/2-tloustka_plbase]) |
- |
|
78 |
uchyt(); |
- |
|
79 |
|
- |
|
80 |
//uchyt 4 |
- |
|
81 |
translate([((pocet_der2)*vzdalenost_der)/2+vzdalenost_od_okraje+tloustka_bocnice+Uchyt_radius-0.5,(pocet_der1)*vzdalenost_der+vzdalenost_od_okraje-Uchyt_y+Uchyt_radius-vzdalenost_der/2,-vyska_bocnice/2-tloustka_plbase]) |
- |
|
82 |
uchyt(); |
- |
|
83 |
|
67 |
} |
84 |
} |
68 |
|
85 |
|
69 |
//---------------------------------------------------- |
86 |
//---------------------------------------------------- |
70 |
//LOGO MLAB |
87 |
//LOGO MLAB |
71 |
/* |
88 |
/* |
Line 88... |
Line 105... |
88 |
|
105 |
|
89 |
} |
106 |
} |
90 |
} |
107 |
} |
91 |
|
108 |
|
92 |
|
109 |
|
93 |
|
- |
|
94 |
|
110 |
|
95 |
|
- |
|
96 |
|
111 |
|
- |
|
112 |
//uchyt(); |
- |
|
113 |
|
- |
|
114 |
module uchyt(){ |
- |
|
115 |
difference () { |
- |
|
116 |
minkowski() |
- |
|
117 |
{ |
- |
|
118 |
cube([Uchyt_x-2*Uchyt_radius,Uchyt_y-2*Uchyt_radius,Uchyt_vyska_mat+M3_vyska_hlavy]); // base plastics brick |
- |
|
119 |
cylinder(r=Uchyt_radius,h=0.1); |
- |
|
120 |
} |
- |
|
121 |
|
- |
|
122 |
//otvor na hlavu |
- |
|
123 |
translate([(Uchyt_x)/2-Uchyt_radius,(Uchyt_y)/2-Uchyt_radius,Uchyt_vyska_mat+M3_vyska_hlavy/2]) |
- |
|
124 |
cylinder(h=M3_vyska_hlavy+0.6, r=M3_prumer_hlavy/2, center=true); |
- |
|
125 |
|
- |
|
126 |
////otvor na sroub |
- |
|
127 |
translate([(Uchyt_x)/2-Uchyt_radius,(Uchyt_y)/2-Uchyt_radius,(Uchyt_vyska_mat+M3_vyska_hlavy)/2]) |
- |
|
128 |
cylinder(h=Uchyt_vyska_mat+M3_vyska_hlavy+0.6, r=M3_prumer/2, center=true); |
- |
|
129 |
|
- |
|
130 |
|
- |
|
131 |
} |
- |
|
132 |
} |
- |
|
133 |
|
- |
|
134 |
|
- |
|
135 |
|
- |
|
136 |
|
97 |
|
137 |
|