Line 6... |
Line 6... |
6 |
|
6 |
|
7 |
PI=3.141592; |
7 |
PI=3.141592; |
8 |
|
8 |
|
9 |
|
9 |
|
10 |
|
10 |
|
11 |
module WINDGAUGE02A_D01(S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,D01_material_pod_zavitem,D01_material_za_zavitem,D01_material_pred_zavitem,D01_delka_tyce,D01_sirka_tyce,D02_sila_materialu,D02_vyska_uchytky,D02_prumer_obruby,D02_delka_celeho_uchytu,D02_dotahova_vzdalenost,D02_prumer_uchytneho_sroubu,S01_tolerance_zavit) |
11 |
module WINDGAUGE02A_D01() |
12 |
{ |
12 |
{ |
13 |
|
13 |
|
14 |
difference() |
14 |
difference() |
15 |
{ |
15 |
{ |
16 |
|
16 |
|
17 |
union() |
17 |
union() |
18 |
{ |
18 |
{ |
19 |
//zavit |
19 |
//zavit |
20 |
translate([0,0,D01_material_pod_zavitem]) |
20 |
translate([0,0,D01_material_pod_zavitem]) |
21 |
screw_thread(S01_prumer_zavitu-S01_tolerance_zavit,4,55,S01_vyska_komponentu_na_lozisko,PI/2,2); |
21 |
screw_thread(S01_prumer_vnitrni-S01_tolerance_zavit,4,55,S01_vyska_spodniho_zavitu,PI/2,2); |
22 |
|
22 |
|
23 |
//spodnĂ valec |
23 |
//spodnĂ valec |
24 |
translate([0,0,D01_material_pod_zavitem/2]) |
24 |
translate([0,0,D01_material_pod_zavitem/2]) |
25 |
cylinder (h = D01_material_pod_zavitem, r=(S01_prumer_zavitu+D01_material_pred_zavitem*2)/2, center = true, $fn=100); |
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 |
|
26 |
|
27 |
//uchyt na tyc |
27 |
//uchyt na tyc |
28 |
translate([0,D01_delka_tyce/2+S01_prumer_zavitu/2+D01_material_pred_zavitem,D01_material_pod_zavitem/2]) |
28 |
translate([0,D01_delka_tyce/2+(S01_prumer_vnitrni-S01_tolerance_zavit)/2+D01_material_pred_zavitem,D01_material_pod_zavitem/2]) |
29 |
cube([D01_sirka_tyce,D01_delka_tyce,D01_material_pod_zavitem],center=true); |
29 |
cube([D01_sirka_tyce,D01_delka_tyce,D01_material_pod_zavitem],center=true); |
30 |
//uchyt na tyc ovalna cast |
30 |
//uchyt na tyc ovalna cast |
31 |
translate([0,S01_prumer_zavitu/2+D01_material_pred_zavitem,D01_material_pod_zavitem/2]) |
31 |
translate([0,(S01_prumer_vnitrni-S01_tolerance_zavit)/2+D01_material_pred_zavitem,D01_material_pod_zavitem/2]) |
32 |
cube([D01_sirka_tyce,D01_material_za_zavitem+D01_material_pred_zavitem,D01_material_pod_zavitem],center=true); |
32 |
cube([D01_sirka_tyce,D01_material_za_zavitem+D01_material_pred_zavitem,D01_material_pod_zavitem],center=true); |
33 |
|
33 |
|
34 |
|
34 |
|
35 |
//material kolem uchytu na sloupek |
35 |
//material kolem uchytu na sloupek |
36 |
translate([0,D01_delka_tyce+S01_prumer_zavitu/2+D01_material_pred_zavitem+(D02_sila_materialu+D02_prumer_obruby/2)/2-D02_dotahova_vzdalenost,D01_material_pod_zavitem/2]) |
36 |
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]) |
37 |
difference() |
37 |
difference() |
38 |
{ |
38 |
{ |
39 |
cube([D01_sirka_tyce,D02_sila_materialu+D02_prumer_obruby/2,D01_material_pod_zavitem],center=true); |
39 |
cube([D01_sirka_tyce,D02_sila_materialu+D02_prumer_obruby/2,D01_material_pod_zavitem],center=true); |
40 |
translate([0,D02_prumer_obruby/2-D02_dotahova_vzdalenost-D02_sila_materialu,0]) |
40 |
translate([0,D02_prumer_obruby/2-D02_dotahova_vzdalenost-D02_sila_materialu,0]) |
41 |
cylinder(h=D02_vyska_uchytky+0.01,r=D02_prumer_obruby/2,center=true); |
41 |
cylinder(h=D02_vyska_uchytky+0.01,r=D02_prumer_obruby/2,center=true); |
Line 44... |
Line 44... |
44 |
|
44 |
|
45 |
|
45 |
|
46 |
|
46 |
|
47 |
//uchyt na sloupek |
47 |
//uchyt na sloupek |
48 |
|
48 |
|
49 |
translate([0,D01_delka_tyce+S01_prumer_zavitu/2+D01_material_pred_zavitem+D02_sila_materialu+(D02_prumer_obruby)/2,D02_vyska_uchytky/2]) |
49 |
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 |
rotate(a=[0,0,270]) |
50 |
rotate(a=[0,0,270]) |
51 |
WINDGAUGE02A_D02(D02_sila_materialu,D02_vyska_uchytky,D02_prumer_obruby,D02_delka_celeho_uchytu,D02_dotahova_vzdalenost,D02_prumer_uchytneho_sroubu); |
51 |
WINDGAUGE02A_D02(); |
52 |
|
52 |
|
53 |
} |
53 |
} |
54 |
|
54 |
|
55 |
//otvor |
55 |
//otvor |
56 |
translate([0,0,(D01_material_pod_zavitem+S01_vyska_komponentu_na_lozisko)/2]) |
56 |
translate([0,0,(D01_material_pod_zavitem+S01_vyska_spodniho_zavitu)/2]) |
57 |
cylinder (h = D01_material_pod_zavitem+S01_vyska_komponentu_na_lozisko+0.02, r=(S01_prumer_zavitu-2*D01_material_za_zavitem)/2, center = true, $fn=100); |
57 |
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 |
|
58 |
|
59 |
} |
59 |
} |
60 |
} |
60 |
} |
61 |
|
61 |
|
62 |
WINDGAUGE02A_D01(S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,D01_material_pod_zavitem,D01_material_za_zavitem,D01_material_pred_zavitem,D01_delka_tyce,D01_sirka_tyce,D02_sila_materialu,D02_vyska_uchytky,D02_prumer_obruby,D02_delka_celeho_uchytu,D02_dotahova_vzdalenost,D02_prumer_uchytneho_sroubu,S01_tolerance_zavit); |
62 |
WINDGAUGE02A_D01(); |
63 |
|
63 |
|
64 |
|
64 |
|
65 |
|
65 |
|
66 |
|
66 |
|