Line 4... |
Line 4... |
4 |
include <WINDGAUGE02A_D02.scad> |
4 |
include <WINDGAUGE02A_D02.scad> |
5 |
include <polyScrewThread_r1.scad> |
5 |
include <polyScrewThread_r1.scad> |
6 |
|
6 |
|
7 |
PI=3.141592; |
7 |
PI=3.141592; |
8 |
|
8 |
|
9 |
|
- |
|
- |
|
9 |
//Držák anemometru |
10 |
|
10 |
|
11 |
module WINDGAUGE02A_D01() |
11 |
module WINDGAUGE02A_D01() |
12 |
{ |
- |
|
13 |
|
12 |
{ |
14 |
difference() |
13 |
difference() |
15 |
{ |
14 |
{ |
16 |
|
- |
|
17 |
union() |
15 |
union() |
18 |
{ |
16 |
{ |
19 |
//zavit |
17 |
//výstuha |
20 |
translate([0,0,D01_material_pod_zavitem]) |
- |
|
21 |
screw_thread(S01_prumer_vnitrni-S01_tolerance_zavit,4,55,S01_vyska_spodniho_zavitu,PI/2,2); |
- |
|
22 |
|
- |
|
23 |
//spodní valec |
18 |
rotate ([0,-90,0]) |
24 |
translate([0,0,D01_material_pod_zavitem/2]) |
19 |
linear_extrude (height = S01_sila_materialu, convexity = 10) |
25 |
cylinder (h = D01_material_pod_zavitem, r=(S01_prumer_vnitrni-S01_tolerance_zavit+D01_material_pred_zavitem*2)/2, center = true, $fn=100); |
- |
|
26 |
|
- |
|
27 |
//uchyt na tyc |
- |
|
28 |
translate([0,D01_delka_tyce/2+(S01_prumer_vnitrni-S01_tolerance_zavit)/2+D01_material_pred_zavitem,D01_material_pod_zavitem/2]) |
20 |
polygon(points=[[D02_vyska_uchytky/2,D01_delka_tyce+S01_prumer_vnitrni/2+D01_material_pred_zavitem+D02_sila_materialu],[0, D01_delka_tyce+S01_prumer_vnitrni/2+D01_material_pred_zavitem+D02_sila_materialu],[0,S01_prumer_vnitrni+D01_material_pred_zavitem],[D01_material_pod_zavitem,S01_prumer_vnitrni+D01_material_pred_zavitem]]); |
29 |
cube([D01_sirka_tyce,D01_delka_tyce,D01_material_pod_zavitem],center=true); |
- |
|
30 |
|
21 |
|
- |
|
22 |
//zavit |
- |
|
23 |
translate([0,0,D01_material_pod_zavitem]) |
- |
|
24 |
screw_thread(S01_prumer_vnitrni-S01_tolerance_zavit,4,55,S01_vyska_spodniho_zavitu,PI/2,2); |
31 |
|
25 |
|
- |
|
26 |
//spodní valec |
- |
|
27 |
translate([0,0,D01_material_pod_zavitem/2]) |
- |
|
28 |
cylinder (h = D01_material_pod_zavitem, r=(S01_prumer_vnitrni-S01_tolerance_zavit+D01_material_pred_zavitem*2)/2, center = true, $fn=100); |
- |
|
29 |
|
- |
|
30 |
//uchyt na tyc |
- |
|
31 |
translate([0,D01_delka_tyce/2+(S01_prumer_vnitrni-S01_tolerance_zavit)/2+D01_material_pred_zavitem,D01_material_pod_zavitem/2]) |
- |
|
32 |
cube([D01_sirka_tyce,D01_delka_tyce,D01_material_pod_zavitem],center=true); |
- |
|
33 |
|
- |
|
34 |
//uchyt na tyc ovalna cast |
- |
|
35 |
translate([0,(S01_prumer_vnitrni-S01_tolerance_zavit)/2+D01_material_pred_zavitem,D01_material_pod_zavitem/2]) |
- |
|
36 |
cube([D01_sirka_tyce,D01_material_za_zavitem+D01_material_pred_zavitem,D01_material_pod_zavitem],center=true); |
32 |
|
37 |
|
- |
|
38 |
//material kolem uchytu na sloupek |
- |
|
39 |
translate([0,D01_delka_tyce+(S01_prumer_vnitrni-S01_tolerance_zavit)/2+D01_material_pred_zavitem+(D02_sila_materialu+D02_prumer_obruby/2)/2-D02_dotahova_vzdalenost,D01_material_pod_zavitem/2]) |
33 |
|
40 |
|
34 |
|
- |
|
35 |
|
- |
|
36 |
|
- |
|
37 |
|
- |
|
38 |
//uchyt na tyc ovalna cast |
- |
|
39 |
translate([0,(S01_prumer_vnitrni-S01_tolerance_zavit)/2+D01_material_pred_zavitem,D01_material_pod_zavitem/2]) |
- |
|
40 |
cube([D01_sirka_tyce,D01_material_za_zavitem+D01_material_pred_zavitem,D01_material_pod_zavitem],center=true); |
- |
|
41 |
|
- |
|
42 |
|
- |
|
43 |
//material kolem uchytu na sloupek |
- |
|
44 |
translate([0,D01_delka_tyce+(S01_prumer_vnitrni-S01_tolerance_zavit)/2+D01_material_pred_zavitem+(D02_sila_materialu+D02_prumer_obruby/2)/2-D02_dotahova_vzdalenost,D01_material_pod_zavitem/2]) |
- |
|
45 |
difference() |
41 |
difference() |
46 |
{ |
42 |
{ |
47 |
cube([D01_sirka_tyce,D02_sila_materialu+D02_prumer_obruby/2,D01_material_pod_zavitem],center=true); |
43 |
cube([D01_sirka_tyce,D02_sila_materialu+D02_prumer_obruby/2,D01_material_pod_zavitem],center=true); |
48 |
translate([0,D02_prumer_obruby/2-D02_dotahova_vzdalenost-D02_sila_materialu,0]) |
- |
|
49 |
cylinder(h=D02_vyska_uchytky+0.01,r=D02_prumer_obruby/2,center=true); |
- |
|
50 |
|
44 |
|
- |
|
45 |
translate([0,D02_prumer_obruby/2-D02_dotahova_vzdalenost-D02_sila_materialu,0]) |
- |
|
46 |
cylinder(h=D02_vyska_uchytky+0.01,r=D02_prumer_obruby/2,center=true); |
51 |
} |
47 |
} |
52 |
|
48 |
|
53 |
|
- |
|
54 |
|
- |
|
55 |
//uchyt na sloupek |
49 |
//uchyt na sloupek |
56 |
|
- |
|
57 |
translate([0,D01_delka_tyce+(S01_prumer_vnitrni-S01_tolerance_zavit)/2+D01_material_pred_zavitem+D02_sila_materialu+(D02_prumer_obruby)/2,D02_vyska_uchytky/2]) |
50 |
translate([0,D01_delka_tyce+(S01_prumer_vnitrni-S01_tolerance_zavit)/2+D01_material_pred_zavitem+D02_sila_materialu+(D02_prumer_obruby)/2,D02_vyska_uchytky/2]) |
58 |
rotate(a=[0,0,270]) |
51 |
rotate(a=[0,0,270]) |
59 |
WINDGAUGE02A_D02(); |
52 |
WINDGAUGE02A_D02(); |
60 |
|
53 |
|
61 |
} |
54 |
} |
62 |
|
55 |
|
63 |
//otvor |
56 |
//otvor |
64 |
translate([0,0,(D01_material_pod_zavitem+S01_vyska_spodniho_zavitu)/2]) |
57 |
translate([0,0,(D01_material_pod_zavitem+S01_vyska_spodniho_zavitu)/2]) |
65 |
cylinder (h = D01_material_pod_zavitem+S01_vyska_spodniho_zavitu+0.02, r=((S01_prumer_vnitrni-S01_tolerance_zavit)-2*D01_material_za_zavitem)/2, center = true, $fn=100); |
58 |
cylinder (h = D01_material_pod_zavitem+S01_vyska_spodniho_zavitu+0.02, r=((S01_prumer_vnitrni-S01_tolerance_zavit)-2*D01_material_za_zavitem)/2, center = true, $fn=100); |
66 |
|
59 |
|
67 |
} |
- |
|
68 |
} |
60 |
} |
- |
|
61 |
} |
69 |
|
62 |
|
70 |
WINDGAUGE02A_D01(); |
63 |
WINDGAUGE02A_D01(); |
71 |
|
64 |
|
72 |
|
65 |
|
73 |
|
66 |
|