4465 |
jacho |
1 |
$fn=40; // model faces resolution. |
|
|
2 |
include <../configuration.scad> |
|
|
3 |
|
|
|
4 |
module WINDGAUGE02A_R05(vyska_pod_magnetem,magnet_zapusteni,magnet_prumer,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_sroubu,vyska_matky,sirka_matky,R05_sirka_matky,S01_sila_materialu) |
|
|
5 |
{ |
|
|
6 |
//setihrana matice |
|
|
7 |
difference() |
|
|
8 |
{ |
|
|
9 |
//zakladni material |
|
|
10 |
cylinder (h = 2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_zapusteni+vyska_matky, r= R05_sirka_matky/2, $fn=6); |
|
|
11 |
|
|
|
12 |
//dira na matku |
|
|
13 |
cylinder (h = vyska_matky+0.2, r= (sirka_matky+0.2)/2, $fn=6); |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
//otvor pro magnet |
|
|
18 |
translate([0,0,(2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_zapusteni+vyska_matky)-magnet_zapusteni/2+0.01]) |
|
|
19 |
cylinder (h = magnet_zapusteni+0.01, r=((magnet_prumer+0.2)/2), center = true, $fn=100); |
|
|
20 |
|
|
|
21 |
//zapusteni uchytného sroubu |
|
|
22 |
translate([0,0,(2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_zapusteni+vyska_matky)-vyska_hlavy_sroubu/2+0.1]) |
|
|
23 |
cylinder (h = vyska_hlavy_sroubu+1, r=((prumer_hlavy_sroubu+0.2)/2), center = true, $fn=100); |
|
|
24 |
|
|
|
25 |
//otvor pro sroub |
|
|
26 |
translate([0,0,(2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_zapusteni+vyska_matky)/2+0.1]) |
|
|
27 |
cylinder (h = (2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_zapusteni+vyska_matky)+0.1, r=(prumer_sroubu)/2, center = true, $fn=100); |
|
|
28 |
} |
|
|
29 |
} |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
WINDGAUGE02A_R05(vyska_pod_magnetem,magnet_zapusteni,magnet_prumer,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_sroubu,vyska_matky,sirka_matky,R05_sirka_matky,S01_sila_materialu); |
|
|
34 |
|
|
|
35 |
|