Rev Author Line No. Line
4551 jacho 1 include <../configuration.scad>
2 AWSBOX01A_D03();
3 module AWSBOX01A_D03(){
4 difference () {
5  
6 translate([D02_sila_materialu+3/2*D02_dolerance_na_zasunuti+radidus_hrany,D02_sila_materialu+radidus_hrany+D02_dolerance_na_zasunuti/2,0])
7 minkowski()
8 {
9 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-D02_dolerance_na_zasunuti,D02_sila_materialu]); // base plastics brick
10 cylinder(r=radidus_hrany,h=0.1);
11 }
12  
13  
14  
15 //drzáky spodního krytu
16  
17 translate([0,(D02_vyska_boxu_pod_plbase+D02_vyska_boxu_nad_plbase+2*D02_sila_materialu+2*radidus_hrany)/2-(prumer_sroubu+3*D02_sila_materialu)/2,-0.01])
18  
19 translate([drzak_sroubu_hloubka-prumer_sroubu/2-1.5*D02_sila_materialu,(prumer_sroubu+3*D02_sila_materialu)/2,-0.001])
20 cylinder(h=3*drzak_sroubu_vyska, r=prumer_sroubu/2, center=false);
21  
22  
23 translate([(pocet_der1-1)*vzdalenost_der+2*vzdalenost_od_okraje+2*D02_sila_materialu+D02_dolerance_na_zasunuti,(D02_vyska_boxu_pod_plbase+D02_vyska_boxu_nad_plbase+2*D02_sila_materialu+2*radidus_hrany)/2+(prumer_sroubu+3*D02_sila_materialu)/2,-0.01])
24 rotate([0,0,180])
25  
26 translate([drzak_sroubu_hloubka-prumer_sroubu/2-1.5*D02_sila_materialu,(prumer_sroubu+3*D02_sila_materialu)/2,-0.001])
27 cylinder(h=3*drzak_sroubu_vyska, r=prumer_sroubu/2, center=false);
28  
29  
30 }
31 }
32  
33