Line 195... |
Line 195... |
195 |
|
195 |
|
196 |
|
196 |
|
197 |
} |
197 |
} |
198 |
} |
198 |
} |
199 |
|
199 |
|
- |
|
200 |
//PLBASE ZAKLADNI - bez der |
- |
|
201 |
//------------------------------------------------------------ |
- |
|
202 |
module plbase_bez_der(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,tloustka_bocnice){ |
- |
|
203 |
|
- |
|
204 |
|
- |
|
205 |
|
- |
|
206 |
difference () { |
- |
|
207 |
//union () { |
- |
|
208 |
translate([radidus_hrany,radidus_hrany,0]) |
- |
|
209 |
minkowski() |
- |
|
210 |
{ |
- |
|
211 |
cube([(pocet_der1-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany+2*tloustka_bocnice,(pocet_der2-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany+2*tloustka_bocnice,tloustka_plbase]); // base plastics brick |
- |
|
212 |
cylinder(r=radidus_hrany,h=0.1); |
- |
|
213 |
} |
- |
|
214 |
|
- |
|
215 |
|
- |
|
216 |
|
- |
|
217 |
|
- |
|
218 |
|
- |
|
219 |
|
- |
|
220 |
|
- |
|
221 |
|
- |
|
222 |
|
- |
|
223 |
} |
- |
|
224 |
} |
200 |
|
225 |
|
201 |
|
226 |
|
202 |
//PLbase vrchnà |
227 |
//PLbase vrchnà |
203 |
//------------------------------------------------------------ |
228 |
//------------------------------------------------------------ |
204 |
|
229 |
|