Line 1... |
Line 1... |
1 |
$fn=40; // model faces resolution. |
1 |
$fn=40; // model faces resolution. |
2 |
//include <configuration.scad> |
2 |
//include <../configuration.scad> |
3 |
|
- |
|
4 |
|
3 |
|
5 |
module stator3(stator3_vyska,prumer_rotoru1,lozisko_vyska,sila_pod_loziskem,sila_materialu,vule1,stator3_sila_steny, |
4 |
module stator3(stator3_vyska,prumer_rotoru1,lozisko_vyska,sila_pod_loziskem,sila_materialu,vule1,stator3_sila_steny, |
6 |
stator3_vyska_prekryti,prumer_hlavy_sroubu,stator3_vzdalenost_od_steny,lozisko_vyska,prumer_sroubu,roztec_sroubu,uchyt_prumer_sroubu) |
5 |
stator3_vyska_prekryti,prumer_hlavy_sroubu,stator3_vzdalenost_od_steny,lozisko_vyska,prumer_sroubu,roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,kabel_prumer) |
7 |
{ |
6 |
{ |
8 |
difference() |
7 |
difference() |
9 |
{ |
8 |
{ |
10 |
|
9 |
|
11 |
cylinder (h = stator3_vyska, r=(prumer_rotoru1)/2, center = true, $fn=100); |
10 |
cylinder (h = stator3_vyska, r=(prumer_rotoru1)/2, center = true, $fn=100); |
12 |
|
11 |
|
13 |
translate([0,0,(stator3_vyska-lozisko_vyska-sila_pod_loziskem)/2]) |
12 |
translate([0,0,(stator3_vyska-lozisko_vyska-sila_pod_loziskem)/2]) |
14 |
|
13 |
|
15 |
cylinder (h = lozisko_vyska+sila_pod_loziskem+0.1, r=(prumer_rotoru1-2*sila_materialu-2*vule1-stator3_sila_steny)/2, center = true, $fn=100); |
14 |
cylinder (h = lozisko_vyska+sila_pod_loziskem+0.1, r=(prumer_rotoru1-2*sila_materialu-2*vule1-stator3_sila_steny)/2, center = true, $fn=100); |
16 |
|
15 |
|
17 |
cylinder (h = stator3_vyska+0.1, r=(prumer_rotoru1-2*sila_materialu-2*vule1-2*stator3_sila_steny)/2, center = true, $fn=100); |
16 |
cylinder (h = stator3_vyska+0.1, r=(prumer_rotoru1-2*sila_materialu-2*vule1-2*stator3_sila_steny-1)/2, center = true, $fn=100); |
18 |
|
17 |
|
19 |
|
18 |
|
20 |
|
19 |
|
21 |
|
20 |
|
22 |
translate([0,0,(stator3_vyska-stator3_vyska_prekryti)/2]) |
21 |
translate([0,0,(stator3_vyska-stator3_vyska_prekryti)/2]) |
Line 90... |
Line 89... |
90 |
cylinder (h = stator3_sila_steny+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100); |
89 |
cylinder (h = stator3_sila_steny+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100); |
91 |
|
90 |
|
92 |
translate([-roztec_sroubu/2,-roztec_sroubu/2,0]) |
91 |
translate([-roztec_sroubu/2,-roztec_sroubu/2,0]) |
93 |
cylinder (h = stator3_sila_steny+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100); |
92 |
cylinder (h = stator3_sila_steny+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100); |
94 |
|
93 |
|
- |
|
94 |
//dira na kabel |
- |
|
95 |
|
- |
|
96 |
cylinder (h = vyska_stator4+0.1, r=(kabel_prumer/2+0.1), center = true, $fn=100); |
95 |
} |
97 |
} |
96 |
} |
98 |
} |