Line 20... |
Line 20... |
20 |
{ |
20 |
{ |
21 |
|
21 |
|
22 |
difference() |
22 |
difference() |
23 |
{ |
23 |
{ |
24 |
translate([0,0,0]) |
24 |
translate([0,0,0]) |
25 |
cylinder (h = D04_sila_materialu_na_konektor, r=(S01_prumer_zavitu+2*D01_material_pred_zavitem)/2, $fn=100); |
25 |
cylinder (h = D04_sila_materialu_na_konektor, r=(S01_prumer_zavitu+4*D01_material_pred_zavitem)/2, $fn=12); |
26 |
|
26 |
|
27 |
|
27 |
translate([0,0,-0.01]) |
- |
|
28 |
cylinder (h = 0.01+D01_material_pod_zavitem+D04_sila_materialu_na_konektor, r=(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu-D01_material_za_zavitem)/2, $fn=100); |
28 |
} |
29 |
} |
29 |
|
30 |
|
30 |
difference() |
31 |
difference() |
31 |
{ |
32 |
{ |
32 |
translate([0,0,D04_sila_materialu_na_konektor]) |
33 |
translate([0,0,D04_sila_materialu_na_konektor]) |
33 |
screw_thread(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu,4,55,D01_material_pod_zavitem,PI/2,2); |
34 |
screw_thread(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu,4,55,D01_material_pod_zavitem,PI/2,2); |
34 |
|
35 |
|
35 |
cylinder (h = 0.01+D01_material_pod_zavitem+D04_sila_materialu_na_konektor, r=(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu-D01_material_za_zavitem)/2, $fn=100); |
36 |
cylinder (h = 0.01+D01_material_pod_zavitem+D04_sila_materialu_na_konektor, r=(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu-D01_material_za_zavitem)/2, $fn=100); |
36 |
} |
37 |
} |
- |
|
38 |
|
- |
|
39 |
//materiál držáku konektoru |
- |
|
40 |
translate([0,0,D04_sila_materialu_na_konektor/2]) |
- |
|
41 |
cube([D04_konenektor_x+12,(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu-D01_material_za_zavitem),D04_sila_materialu_na_konektor],true); |
- |
|
42 |
//materiál pro kryt konektoru |
- |
|
43 |
//spodní krychle |
- |
|
44 |
translate([0,-(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu)/4+5,D04_konenektor_z/2+D04_sila_materialu_na_konektor]) |
- |
|
45 |
cube([D04_konenektor_x+6+2*D03_tloustka_materialu,(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu)/2,D04_konenektor_z],true); |
- |
|
46 |
//vrchní válec |
- |
|
47 |
translate([0,5,D04_sila_materialu_na_konektor+D04_konenektor_z]) |
- |
|
48 |
|
- |
|
49 |
rotate ([90,0,0]) |
- |
|
50 |
cylinder (h = D04_konenektor_x+6+2*D03_tloustka_materialu, r=(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu)/4, $fn=100); |
- |
|
51 |
|
37 |
} |
52 |
} |
38 |
|
53 |
|
39 |
//otvor na konektor |
54 |
//otvor na konektor |
40 |
translate([0,-(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu-D01_material_za_zavitem-2)/2+D04_konenektor_y/2,-0.01]) |
55 |
translate([0,-(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu-D01_material_za_zavitem-2)/2+D04_konenektor_y/2,-0.01]) |
41 |
cube([D04_konenektor_x,D04_konenektor_y,18],true); |
56 |
cube([D04_konenektor_x,D04_konenektor_y,10],true); |
42 |
|
57 |
|
43 |
//dotvoření otvoru |
58 |
//dotvoření otvoru |
44 |
//pro nasunutí ve spodní části |
59 |
//pro nasunutí ve spodní části |
45 |
translate([0,-(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu-D01_material_za_zavitem)/2,-0.01]) |
60 |
translate([0,-(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu-D01_material_za_zavitem)/2,-0.01]) |
46 |
cube([D04_konenektor_x,D04_konenektor_y,18],true); |
61 |
cube([D04_konenektor_x,D04_konenektor_y,18],true); |
47 |
|
62 |
|
48 |
translate([0,-(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu-D01_material_za_zavitem)/2,D04_sila_materialu_na_konektor+D01_material_pod_zavitem/2]) |
63 |
translate([0,-(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu-D01_material_za_zavitem)/4,D04_sila_materialu_na_konektor+(D04_konenektor_z)/2]) |
49 |
cube([D04_konenektor_x+6,D04_konenektor_y,D01_material_pod_zavitem],true); |
64 |
cube([D04_konenektor_x+6,(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu-D01_material_za_zavitem)/2+8,D04_konenektor_z],true); |
- |
|
65 |
|
- |
|
66 |
//odstranění vrchního válce |
- |
|
67 |
translate([0,1,D04_sila_materialu_na_konektor+D04_konenektor_z]) |
- |
|
68 |
|
- |
|
69 |
rotate ([90,0,0]) |
- |
|
70 |
cylinder (h = D04_konenektor_x+6+2*D03_tloustka_materialu, r=(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu)/4-D03_tloustka_materialu, $fn=100); |
- |
|
71 |
|
- |
|
72 |
|
- |
|
73 |
|
- |
|
74 |
//otvor na senzor v držáku |
- |
|
75 |
translate([0,7,-2]) |
- |
|
76 |
translate([0,0,(15+5.08)/2-(5.08+3.3+2)/2]) |
- |
|
77 |
cube([10.16,3,25],true); |
- |
|
78 |
|
- |
|
79 |
|
50 |
|
80 |
|
51 |
} |
81 |
} |
- |
|
82 |
|
52 |
translate([0,7,(15+5.08)/2+D04_sila_materialu_na_konektor]) |
83 |
translate([0,7,(13+5.08)/2+D04_sila_materialu_na_konektor]) |
53 |
difference() |
84 |
difference() |
54 |
{ |
85 |
{ |
55 |
cube([10.16+2*D03_tloustka_materialu,3+2*D03_tloustka_materialu,15+5.08],true); |
86 |
cube([10.16+2*D03_tloustka_materialu,3+2*D03_tloustka_materialu,13+5.08],true); |
56 |
translate([0,0,(15+5.08)/2-(5.08+3.3+2)/2]) |
87 |
translate([0,0,(15+5.08)/2-(5.08+3.3+2)/2-3]) |
57 |
cube([10.16,3,5.08+3.3+2],true); |
88 |
cube([10.16,3,25],true); |
58 |
translate([0,15,(15+5.08)/2-(3.3)/2-2]) |
89 |
translate([0,15,(15+5.08)/2-(3.3)/2-2]) |
59 |
rotate ([90,0,0]) |
90 |
rotate ([90,0,0]) |
60 |
cylinder (h = 30, r=(3.3/2), $fn=100); |
91 |
cylinder (h = 30, r=(3.3/2), $fn=100); |
61 |
} |
92 |
} |
62 |
} |
93 |
} |
63 |
|
94 |
|