4536 |
jacho |
1 |
$fn=40; // model faces resolution. |
|
|
2 |
include <../configuration.scad> |
|
|
3 |
include <polyScrewThread_r1.scad> |
|
|
4 |
|
|
|
5 |
PI=3.141592; |
|
|
6 |
|
|
|
7 |
//Hlavní válec |
|
|
8 |
|
4538 |
jacho |
9 |
WINDGAUGE01A_S02(); |
4536 |
jacho |
10 |
|
4538 |
jacho |
11 |
module WINDGAUGE01A_S02() |
4536 |
jacho |
12 |
{ |
|
|
13 |
difference() |
|
|
14 |
{ |
|
|
15 |
union() |
|
|
16 |
{ |
|
|
17 |
//základní válec |
|
|
18 |
cylinder (h = S01_vyska, r=(S01_prumer_vnitrni)/2+S01_sila_materialu, $fn=100); |
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
} |
|
|
23 |
|
|
|
24 |
//horní závit |
|
|
25 |
translate([0,0,S01_vyska-S01_vyska_horni_zavit]) |
|
|
26 |
screw_thread(S01_prumer_vnitrni,S01_hloubka_zavitu,55,S01_vyska_horni_zavit+5,PI/2,2); |
|
|
27 |
|
|
|
28 |
//otvor na drzak rj11 |
|
|
29 |
translate([0,0,S01_vyska_spodniho_zavitu+S01_sila_drzaku_RJ11-0.3]) |
|
|
30 |
cylinder( 2*S01_sila_drzaku_RJ11, d1=(S01_prumer_vnitrni)-1-1.5*S01_hloubka_zavitu,d2=(S01_prumer_vnitrni) ); |
|
|
31 |
|
|
|
32 |
translate([0,0,S01_vyska_spodniho_zavitu]) |
|
|
33 |
cylinder (h = S01_sila_drzaku_RJ11-0.3, r=(S01_prumer_vnitrni)/2-S01_hloubka_zavitu/2+0.5, $fn=100); |
|
|
34 |
|
|
|
35 |
//spodní závit |
|
|
36 |
translate([0,0,-5]) |
|
|
37 |
screw_thread((S01_prumer_vnitrni),S01_hloubka_zavitu,55,S01_vyska_spodniho_zavitu+5+0.01,PI/2,2); |
|
|
38 |
|
|
|
39 |
//otvor skrz |
|
|
40 |
translate([0,0,S01_vyska_spodniho_zavitu+3*S01_sila_drzaku_RJ11-0.3]) |
|
|
41 |
cylinder (h = S01_vyska-S01_vyska_horni_zavit-(S01_vyska_spodniho_zavitu+3*S01_sila_drzaku_RJ11-0.3), r=(S01_prumer_vnitrni)/2, $fn=100); |
|
|
42 |
|
|
|
43 |
} |
|
|
44 |
} |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|