4538 |
jacho |
1 |
$fn=100; // model faces resolution. |
4536 |
jacho |
2 |
include <../configuration.scad> |
|
|
3 |
include <polyScrewThread_r1.scad> |
|
|
4 |
PI=3.141592; |
4538 |
jacho |
5 |
|
4536 |
jacho |
6 |
WINDGAUGE01A_R01(); |
|
|
7 |
|
|
|
8 |
module WINDGAUGE01A_R01() |
|
|
9 |
{ |
|
|
10 |
|
4538 |
jacho |
11 |
translate([0,0,R01_zavit_vyska+1]) |
|
|
12 |
difference() |
|
|
13 |
{ |
|
|
14 |
//kužel |
|
|
15 |
|
|
|
16 |
cylinder(h=10, r1=R03_prumer_zavitu/2+S01_sila_materialu, r2=5, center=false, $fn=100); |
|
|
17 |
|
|
|
18 |
cylinder(h=10-2*S01_sila_materialu, r1=R03_prumer_zavitu/2, r2=5-S01_sila_materialu, center=false,$fn=100); |
4536 |
jacho |
19 |
|
|
|
20 |
} |
|
|
21 |
|
4538 |
jacho |
22 |
difference() |
|
|
23 |
{ |
|
|
24 |
|
|
|
25 |
|
|
|
26 |
//válec na závit |
|
|
27 |
cylinder (h = R01_zavit_vyska+1, r=R03_prumer_zavitu/2+S01_sila_materialu, $fn=100); |
|
|
28 |
|
|
|
29 |
//odečet závitu |
|
|
30 |
translate([0,0,-10]) |
|
|
31 |
screw_thread((R03_prumer_zavitu),S01_hloubka_zavitu,55,R01_zavit_vyska+12,PI/2,2); |
|
|
32 |
|
4536 |
jacho |
33 |
|
|
|
34 |
|
4538 |
jacho |
35 |
} |
4536 |
jacho |
36 |
|
4538 |
jacho |
37 |
//válec pro držení PCB |
|
|
38 |
cylinder (h = R01_zavit_vyska+10, r=2, $fn=100); |
|
|
39 |
|
4536 |
jacho |
40 |
} |