Rev 4568 Rev 4571
Line 1... Line 1...
1 use <configuration/sloupek.scad> 1 use <configuration/sloupek.scad>
2 use <configuration/plbase.scad> 2 use <configuration/plbase.scad>
3 use <configuration/bocnice.scad> 3 use <configuration/bocnice.scad>
4 use <configuration/otvory.scad> 4 use <configuration/otvory.scad>
5 use <configuration/text/Write.scad> 5 use <configuration/text/Write.scad>
6   -  
-   6 use <upravena_bocnice.scad>
7   7  
8 include <configuration/manufactury_conf.scad> 8 include <configuration/manufactury_conf.scad>
9 include <configuration.scad> 9 include <configuration.scad>
10 include <configuration/otvory_conf.scad> 10 include <configuration/otvory_conf.scad>
11   11  
12   12  
13 barva_sloupku = "cyan"; 13 barva_sloupku = "cyan";
14 barva_listy = "red"; 14 barva_listy = "red";
15 barva_celicka = "green"; 15 barva_celicka = "green";
16 barva_plbase = "yellow"; 16 barva_plbase = "yellow";
17   17  
18 //translate([0.5*10.16,-5.08,14]) 18 //translate([0.5*10.16,-5.08,14])
19 // cube([10.16,10.16,10.16]); 19 // cube([10.16,10.16,10.16]);
20   20  
21   21  
22 //BOCNICE 22 //BOCNICE SE DNEM
23 //------------------------------------------------------------- 23 //-------------------------------------------------------------
24 bocnice(pocet_der1+2,pocet_der2+2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_bocnice,prekryti_der,tloustka_bocnice); 24 upravena_bocnice();
25   -  
26   25  
27 //PLBASE SPODNI -  
28 //------------------------------------------------------------- -  
29 color(barva_plbase) -  
30 translate([-((pocet_der2+2)*vzdalenost_der+2*vzdalenost_od_okraje)/2-tloustka_bocnice,-vzdalenost_od_okraje-tloustka_bocnice,-(vyska_bocnice/2)]) -  
31 rotate(a=[180,0,90]) -  
32   26  
33   27  
34 plbase(pocet_der1+3,pocet_der2+3,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,tloustka_bocnice); -  
35   28  
36   29  
37 //PLBASE HORNI 30 //PLBASE HORNI
38 //------------------------------------------------------------- 31 //-------------------------------------------------------------
39   32  
40   33  
41   34  
42 translate([plbase_tolerance_horni-0.2,+plbase_tolerance_horni-0.2,vyska_bocnice/2-tloustka_plbase/2]) 35 translate([plbase_tolerance_horni-0.2,+plbase_tolerance_horni-0.2,vyska_bocnice/2-tloustka_plbase/2])
43 rotate(a=[0,0,0]) 36 rotate(a=[0,0,0])
44 { 37 {
45 38
46 39
47 //plbase_vrchni_kryt(pocet_der1+2,pocet_der2+2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_bocnice,prekryti_der,tloustka_bocnice,plbase_tolerance_horni); 40 //plbase_vrchni_kryt(pocet_der1+2,pocet_der2+2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_bocnice,prekryti_der,tloustka_bocnice,plbase_tolerance_horni);
48 41
49 plbase_vrchni_kryt_pro_odecet(pocet_der1+2,pocet_der2+2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_bocnice,prekryti_der,tloustka_bocnice,-0.2,tloustka_plbase); 42 plbase_vrchni_kryt_pro_odecet(pocet_der1-1,pocet_der2-1,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_bocnice,prekryti_der,tloustka_bocnice,-0.2,tloustka_plbase);
50 } 43 }
51   44  
52   45  
53   46  
54   47  
55   48  
56   49  
57   50  
58   51  
59   52  
60   53