Line 4... |
Line 4... |
4 |
|
4 |
|
5 |
include <polyScrewThread_r1.scad> |
5 |
include <polyScrewThread_r1.scad> |
6 |
|
6 |
|
7 |
PI=3.141592; |
7 |
PI=3.141592; |
8 |
|
8 |
|
9 |
module WINDGAUGE02A_S02(S01_sila_materialu,S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,lozisko_vyska,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv,vyska_matky,prumer_orechu,prumer_sroubu,senzor_delka,senzor_sirka,S01_tolerance_zavit) |
9 |
module WINDGAUGE02A_S02(S01_sila_materialu,S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,lozisko_vyska,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv,vyska_matky,prumer_orechu,prumer_sroubu,senzor_delka,senzor_sirka,S01_tolerance_zavit,sirka_matky,magnet_vyska) |
10 |
{ |
10 |
{ |
11 |
union() |
11 |
union() |
12 |
{ |
12 |
{ |
13 |
//valec se zavitem |
13 |
//valec se zavitem |
14 |
difference() |
14 |
difference() |
Line 43... |
Line 43... |
43 |
|
43 |
|
44 |
//otvory na ložisko |
44 |
//otvory na ložisko |
45 |
translate([0,0,lozisko_vyska/2+S01_sila_materialu]) |
45 |
translate([0,0,lozisko_vyska/2+S01_sila_materialu]) |
46 |
difference() |
46 |
difference() |
47 |
{ |
47 |
{ |
- |
|
48 |
|
48 |
cylinder (h = lozisko_vyska, r=(lozisko_prumer_vnejsi+2*S01_sila_materialu)/2, center = true, $fn=100); |
49 |
cylinder (h = lozisko_vyska, r=(lozisko_prumer_vnejsi+2*S01_sila_materialu)/2, center = true, $fn=100); |
49 |
cylinder (h = lozisko_vyska+0.01, r=(lozisko_prumer_vnejsi+0.2)/2, center = true, $fn=100); |
50 |
cylinder (h = lozisko_vyska+0.01, r=(lozisko_prumer_vnejsi+0.2)/2, center = true, $fn=100); |
50 |
|
51 |
|
51 |
|
52 |
|
52 |
} |
53 |
} |
53 |
|
54 |
|
- |
|
55 |
difference() |
- |
|
56 |
{ |
- |
|
57 |
union() |
- |
|
58 |
{ |
- |
|
59 |
//uchyty na modul |
- |
|
60 |
//sloupek 1 |
- |
|
61 |
translate([-senzor_delka/2,-senzor_sirka/2,0]) |
- |
|
62 |
SLOUPEK(); |
54 |
|
63 |
|
55 |
|
64 |
|
- |
|
65 |
translate([senzor_delka/2,-senzor_sirka/2,0]) |
56 |
} |
66 |
SLOUPEK(); |
57 |
|
- |
|
58 |
|
- |
|
59 |
|
- |
|
60 |
|
- |
|
61 |
|
67 |
|
- |
|
68 |
translate([senzor_delka/2,senzor_sirka/2,0]) |
- |
|
69 |
SLOUPEK(); |
62 |
|
70 |
|
- |
|
71 |
translate([-senzor_delka/2,senzor_sirka/2,0]) |
- |
|
72 |
SLOUPEK(); |
- |
|
73 |
} |
- |
|
74 |
translate([0,0,S01_sila_materialu]) |
- |
|
75 |
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r=(lozisko_prumer_vnejsi+0.2)/2, $fn=100); |
63 |
|
76 |
|
- |
|
77 |
} |
64 |
|
78 |
|
65 |
|
79 |
|
66 |
|
80 |
|
67 |
|
81 |
|
68 |
|
82 |
|
69 |
|
83 |
|
70 |
|
84 |
|
- |
|
85 |
} |
- |
|
86 |
} |
71 |
|
87 |
|
72 |
|
88 |
|
- |
|
89 |
//sloupek na senzor |
- |
|
90 |
module SLOUPEK() |
- |
|
91 |
{ |
- |
|
92 |
translate([0,0,S01_sila_materialu]) |
- |
|
93 |
difference () { |
73 |
|
94 |
|
- |
|
95 |
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky, r= sirka_matky/2+S01_sila_materialu, $fn=20); |
74 |
|
96 |
|
75 |
|
97 |
|
76 |
|
98 |
|
77 |
|
99 |
|
- |
|
100 |
translate([0,0,lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky-vyska_matky]) |
- |
|
101 |
cylinder (h = vyska_matky+0.01, r= (sirka_matky+0.2)/2, $fn=6); |
78 |
|
102 |
|
79 |
|
103 |
|
- |
|
104 |
translate([0,0,-0.01]) |
- |
|
105 |
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r= (prumer_sroubu+0.2)/2, $fn=10); |
- |
|
106 |
} |
80 |
} |
107 |
} |
81 |
|
108 |
|
82 |
|
- |
|
83 |
|
- |
|
84 |
|
- |
|
85 |
|
- |
|
86 |
|
- |
|
87 |
|
- |
|
88 |
|
- |
|
89 |
WINDGAUGE02A_S02(S01_sila_materialu,S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,lozisko_vyska,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv,vyska_matky,prumer_orechu,prumer_sroubu,senzor_delka,senzor_sirka,S01_tolerance_zavit); |
109 |
WINDGAUGE02A_S02(S01_sila_materialu,S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,lozisko_vyska,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv,vyska_matky,prumer_orechu,prumer_sroubu,senzor_delka,senzor_sirka,S01_tolerance_zavit,sirka_matky,magnet_vyska); |