Rev 4528 Rev 4668
Line 9... Line 9...
9   9  
10 include <configuration.scad> 10 include <configuration.scad>
11   11  
12 barva_D01 = "yellow"; 12 barva_D01 = "yellow";
13 barva_D02 = "cyan"; 13 barva_D02 = "cyan";
14 barva_L01 = "green"; -  
15 barva_R01 = "green"; 14 barva_R01 = "green";
16 barva_R02 = "yellow"; 15 barva_R02 = "yellow";
17 barva_R03 = "cyan"; 16 barva_R03 = "cyan";
-   17 barva_R04 = "green";
18 barva_S01 = "red"; 18 barva_S01 = "red";
19 barva_S02 = "green"; 19 barva_S02 = "green";
20 barva_S03 = "yellow"; 20 barva_S03 = "yellow";
21   21  
-   22 //Ukazka 3D modelu anemometru
22   23  
23   -  
24 posunuti_dilu=10; //posunuti dilu od sebe 24 posunuti_dilu=0; //posunuti dilu od sebe 10 nebo 0
25 difference() 25 difference()
26 { 26 {
27 union() 27 union()
28 { 28 {
29 //WINDGAUGE02A_D01 DRŽÁK 29 //WINDGAUGE02A_D01 DRŽÁK
30 //------------------------------------------------------------- 30 //-------------------------------------------------------------
31 //------------------------------------------------------------- 31 //-------------------------------------------------------------
32   32  
33 /* 33  
34 color(barva_D01) 34 color(barva_D01)
35 translate([0,0,0]) 35 translate([0,0,-3*posunuti_dilu])
36 36
37 WINDGAUGE02A_D01(); 37 WINDGAUGE02A_D01();
38 */ 38
39 39
40 //WINDGAUGE02A_D02 DRŽÁK druhy dil 40 //WINDGAUGE02A_D02 DRŽÁK druhy dil
41 //------------------------------------------------------------- 41 //-------------------------------------------------------------
42 //------------------------------------------------------------- 42 //-------------------------------------------------------------
43   43  
44   -  
-   44 color(barva_D02)
-   45 translate([0,100,D02_vyska_uchytky/2-3*posunuti_dilu])
-   46 rotate ([0,0,90])
-   47 WINDGAUGE02A_D02_2();
45 48
46   49  
47 50
48 //WINDGAUGE02A_S01 stator velky dil 51 //WINDGAUGE02A_S01
49 //------------------------------------------------------------- 52 //-------------------------------------------------------------
50 //------------------------------------------------------------- 53 //-------------------------------------------------------------
51   -  
52 color(barva_S01) 54 color(barva_S01)
-   55 translate([0,0,2*D01_material_pod_zavitem+S01_vyska+2*posunuti_dilu])
53 translate([0,0,0]) 56 rotate ([180,0,0])
-   57 WINDGAUGE02A_S01();
54 58
55 59
56 WINDGAUGE02A_S01(); -  
57 -  
58 WINDGAUGE02A_S02(); 60 //WINDGAUGE02A_S03
59 -  
60 //WINDGAUGE02A_L01 lopatka 1 -  
61 //------------------------------------------------------------- 61 //-------------------------------------------------------------
62 //------------------------------------------------------------- 62 //-------------------------------------------------------------
63 /* -  
64 color(barva_L01) 63 color(barva_S03)
65 translate([0,0,10]) 64 translate([0,0,D01_material_pod_zavitem-posunuti_dilu])
66 rotate(a=[0,0,0]) 65 rotate ([0,0,0])
67 -  
68 WINDGAUGE02A_L01(); 66 WINDGAUGE02A_S03();
69 67
-   68 //WINDGAUGE02A_S02
-   69 //-------------------------------------------------------------
-   70 //-------------------------------------------------------------
-   71 color(barva_S02)
-   72 translate([0,0,D01_material_pod_zavitem])
-   73 rotate ([0,0,0])
-   74 WINDGAUGE02A_S02();
-   75
-   76 //WINDGAUGE02A_R01
-   77 //-------------------------------------------------------------
-   78 //-------------------------------------------------------------
-   79 color(barva_R01)
-   80 translate([0,0,D01_material_pod_zavitem+S01_vyska+3*posunuti_dilu])
-   81 rotate ([0,0,0])
-   82 WINDGAUGE02A_R01();
-   83
-   84  
70 */ 85  
71 86
72 } 87 }
73 cube(300); // cut to show internal relief 88 cube(300); // cut to show internal relief
74 } 89 }
75 90