Line 86... |
Line 86... |
86 |
|
86 |
|
87 |
cube([(pocet_der1-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany+2*D02_sila_materialu+D02_dolerance_na_zasunuti,D02_vyska_boxu_pod_plbase+D02_vyska_boxu_nad_plbase+2*D02_sila_materialu,radidus_hrany]); |
87 |
cube([(pocet_der1-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany+2*D02_sila_materialu+D02_dolerance_na_zasunuti,D02_vyska_boxu_pod_plbase+D02_vyska_boxu_nad_plbase+2*D02_sila_materialu,radidus_hrany]); |
88 |
|
88 |
|
89 |
} |
89 |
} |
90 |
|
90 |
|
91 |
//odečet spodního kvádru |
- |
|
92 |
|
91 |
|
93 |
translate([D02_sila_materialu+D02_dolerance_na_zasunuti+radidus_hrany,D02_sila_materialu+radidus_hrany,-0.005]) |
92 |
translate([D02_sila_materialu+radidus_hrany,D02_sila_materialu+radidus_hrany,-0.005]) |
94 |
minkowski() |
93 |
minkowski() |
95 |
{ |
94 |
{ |
96 |
cube([(pocet_der1-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany,D02_vyska_boxu_pod_plbase+D02_vyska_boxu_nad_plbase,(pocet_der2-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany+2*radidus_hrany+D02_zapusteni_spodniho_krytu+0.01]); // base plastics brick |
95 |
cube([(pocet_der1-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany+D02_dolerance_na_zasunuti,D02_vyska_boxu_pod_plbase+D02_vyska_boxu_nad_plbase,(pocet_der2-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany+2*radidus_hrany+D02_zapusteni_spodniho_krytu+0.01]); // base plastics brick |
97 |
cylinder(r=radidus_hrany,h=0.1); |
96 |
cylinder(r=radidus_hrany,h=0.1); |
98 |
} |
97 |
} |
99 |
|
98 |
|
100 |
//odečet vrchního kvádru |
99 |
//odečet vrchního kvádru |
101 |
|
100 |
|
Line 222... |
Line 221... |
222 |
cylinder(h=drzak_sroubu_vyska, r1=drzak_sroubu_hloubka, r2=0, center=false); |
221 |
cylinder(h=drzak_sroubu_vyska, r1=drzak_sroubu_hloubka, r2=0, center=false); |
223 |
} |
222 |
} |
224 |
|
223 |
|
225 |
//otvor na šroub |
224 |
//otvor na šroub |
226 |
translate([drzak_sroubu_hloubka-prumer_sroubu/2-1.5*D02_sila_materialu,(prumer_sroubu+3*D02_sila_materialu)/2,-0.001]) |
225 |
translate([drzak_sroubu_hloubka-prumer_sroubu/2-1.5*D02_sila_materialu,(prumer_sroubu+3*D02_sila_materialu)/2,-0.001]) |
227 |
cylinder(h=3*drzak_sroubu_vyska, r=prumer_sroubu/2, center=false); |
226 |
cylinder(h=drzak_sroubu_vyska+1.1, r=prumer_sroubu/2, center=false); |
228 |
|
227 |
|
229 |
//odstranění kužele |
228 |
//odstranění kužele |
230 |
difference () { |
229 |
difference () { |
231 |
translate([-3/2*drzak_sroubu_hloubka,-3/2*drzak_sroubu_hloubka,0]) |
230 |
translate([-3/2*drzak_sroubu_hloubka,-3/2*drzak_sroubu_hloubka,0]) |
232 |
|
231 |
|