4431 |
jacho |
1 |
$fn=40; // model faces resolution. |
|
|
2 |
include <../configuration.scad> |
|
|
3 |
|
|
|
4 |
use <zavity.scad> |
|
|
5 |
|
|
|
6 |
module WINDGAUGE02A_S03(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,vyska_hlavy_sroubu,prumer_hlavy_sroubu) |
|
|
7 |
{ |
|
|
8 |
|
|
|
9 |
difference() |
|
|
10 |
{ |
|
|
11 |
//translate([0,0,-(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)/2-10]) |
|
|
12 |
|
|
|
13 |
metric_thread (diameter=S01_prumer_zavitu-0.3, pitch=1, length=S01_vyska_komponentu_na_lozisko, internal=false, n_starts=6); |
|
|
14 |
|
|
|
15 |
//otvory na ložisko |
|
|
16 |
translate([0,0,lozisko_vyska/2]) |
|
|
17 |
cylinder (h = lozisko_vyska+0.01, r=(lozisko_prumer_vnejsi+0.2)/2, center = true, $fn=100); |
|
|
18 |
|
|
|
19 |
translate([0,0,S01_vyska_komponentu_na_lozisko/2]) |
|
|
20 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(lozisko_prumer_vnitrni+2*lozisko_prekryv+0.2)/2, center = true, $fn=100); |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
//otvor na šroub 1 |
|
|
24 |
translate([-senzor_delka/2,-senzor_sirka/2,vyska_hlavy_sroubu/2]) |
|
|
25 |
cylinder (h = vyska_hlavy_sroubu+0.01, r=(prumer_hlavy_sroubu+0.2)/2, center = true, $fn=100); |
|
|
26 |
|
|
|
27 |
translate([-senzor_delka/2,-senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2]) |
|
|
28 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
|
|
29 |
|
|
|
30 |
//otvor na šroub 2 |
|
|
31 |
translate([senzor_delka/2,-senzor_sirka/2,vyska_hlavy_sroubu/2]) |
|
|
32 |
cylinder (h = vyska_hlavy_sroubu+0.01, r=(prumer_hlavy_sroubu+0.2)/2, center = true, $fn=100); |
|
|
33 |
|
|
|
34 |
translate([senzor_delka/2,-senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2]) |
|
|
35 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
|
|
36 |
|
|
|
37 |
//otvor na šroub 3 |
|
|
38 |
translate([senzor_delka/2,senzor_sirka/2,vyska_hlavy_sroubu/2]) |
|
|
39 |
cylinder (h = vyska_hlavy_sroubu+0.01, r=(prumer_hlavy_sroubu+0.2)/2, center = true, $fn=100); |
|
|
40 |
|
|
|
41 |
translate([senzor_delka/2,senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2]) |
|
|
42 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
|
|
43 |
|
|
|
44 |
//otvor na šroub 4 |
|
|
45 |
translate([-senzor_delka/2,senzor_sirka/2,vyska_hlavy_sroubu/2]) |
|
|
46 |
cylinder (h = vyska_hlavy_sroubu+0.01, r=(prumer_hlavy_sroubu+0.2)/2, center = true, $fn=100); |
|
|
47 |
|
|
|
48 |
translate([-senzor_delka/2,senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2]) |
|
|
49 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
|
|
50 |
|
|
|
51 |
} |
|
|
52 |
} |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
WINDGAUGE02A_S03(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,vyska_hlavy_sroubu,prumer_hlavy_sroubu); |