4440 |
jacho |
1 |
use <SRC/WINDGAUGE02A_D01.scad> |
|
|
2 |
use <SRC/WINDGAUGE02A_D02.scad> |
|
|
3 |
use <SRC/WINDGAUGE02A_R01.scad> |
|
|
4 |
use <SRC/WINDGAUGE02A_R02.scad> |
|
|
5 |
use <SRC/WINDGAUGE02A_R03.scad> |
|
|
6 |
use <SRC/WINDGAUGE02A_S01.scad> |
|
|
7 |
use <SRC/WINDGAUGE02A_S02.scad> |
|
|
8 |
use <SRC/WINDGAUGE02A_S03.scad> |
4429 |
jacho |
9 |
|
|
|
10 |
include <configuration.scad> |
|
|
11 |
|
4440 |
jacho |
12 |
barva_D01 = "yellow"; |
|
|
13 |
barva_D02 = "cyan"; |
|
|
14 |
barva_R01 = "green"; |
|
|
15 |
barva_R02 = "yellow"; |
|
|
16 |
barva_R03 = "cyan"; |
4668 |
jacho |
17 |
barva_R04 = "green"; |
4440 |
jacho |
18 |
barva_S01 = "red"; |
|
|
19 |
barva_S02 = "green"; |
|
|
20 |
barva_S03 = "yellow"; |
4429 |
jacho |
21 |
|
4668 |
jacho |
22 |
//Ukazka 3D modelu anemometru |
4429 |
jacho |
23 |
|
4668 |
jacho |
24 |
posunuti_dilu=0; //posunuti dilu od sebe 10 nebo 0 |
4526 |
jacho |
25 |
difference() |
|
|
26 |
{ |
|
|
27 |
union() |
|
|
28 |
{ |
4440 |
jacho |
29 |
//WINDGAUGE02A_D01 DRŽÁK |
4429 |
jacho |
30 |
//------------------------------------------------------------- |
|
|
31 |
//------------------------------------------------------------- |
4526 |
jacho |
32 |
|
4668 |
jacho |
33 |
|
4440 |
jacho |
34 |
color(barva_D01) |
4668 |
jacho |
35 |
translate([0,0,-3*posunuti_dilu]) |
4440 |
jacho |
36 |
|
4476 |
jacho |
37 |
WINDGAUGE02A_D01(); |
4668 |
jacho |
38 |
|
4440 |
jacho |
39 |
|
|
|
40 |
//WINDGAUGE02A_D02 DRŽÁK druhy dil |
4429 |
jacho |
41 |
//------------------------------------------------------------- |
|
|
42 |
//------------------------------------------------------------- |
4526 |
jacho |
43 |
|
4668 |
jacho |
44 |
color(barva_D02) |
|
|
45 |
translate([0,100,D02_vyska_uchytky/2-3*posunuti_dilu]) |
|
|
46 |
rotate ([0,0,90]) |
|
|
47 |
WINDGAUGE02A_D02_2(); |
4526 |
jacho |
48 |
|
|
|
49 |
|
|
|
50 |
|
4668 |
jacho |
51 |
//WINDGAUGE02A_S01 |
4429 |
jacho |
52 |
//------------------------------------------------------------- |
|
|
53 |
//------------------------------------------------------------- |
4440 |
jacho |
54 |
color(barva_S01) |
4668 |
jacho |
55 |
translate([0,0,2*D01_material_pod_zavitem+S01_vyska+2*posunuti_dilu]) |
|
|
56 |
rotate ([180,0,0]) |
|
|
57 |
WINDGAUGE02A_S01(); |
4440 |
jacho |
58 |
|
|
|
59 |
|
4668 |
jacho |
60 |
//WINDGAUGE02A_S03 |
|
|
61 |
//------------------------------------------------------------- |
|
|
62 |
//------------------------------------------------------------- |
|
|
63 |
color(barva_S03) |
|
|
64 |
translate([0,0,D01_material_pod_zavitem-posunuti_dilu]) |
|
|
65 |
rotate ([0,0,0]) |
|
|
66 |
WINDGAUGE02A_S03(); |
|
|
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(); |
4440 |
jacho |
75 |
|
4668 |
jacho |
76 |
//WINDGAUGE02A_R01 |
4429 |
jacho |
77 |
//------------------------------------------------------------- |
|
|
78 |
//------------------------------------------------------------- |
4668 |
jacho |
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 |
|
|
|
85 |
|
4440 |
jacho |
86 |
|
4526 |
jacho |
87 |
} |
|
|
88 |
cube(300); // cut to show internal relief |
|
|
89 |
} |
|
|
90 |
|
|
|
91 |
|