Line 29... |
Line 29... |
29 |
} |
29 |
} |
30 |
|
30 |
|
31 |
difference() |
31 |
difference() |
32 |
{ |
32 |
{ |
33 |
translate([0,0,D04_sila_materialu_na_konektor]) |
33 |
translate([0,0,D04_sila_materialu_na_konektor]) |
34 |
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+4,PI/2,2); |
- |
|
35 |
|
- |
|
36 |
|
- |
|
37 |
translate([0,0,D04_sila_materialu_na_konektor+D01_material_pod_zavitem]) |
- |
|
38 |
cylinder (h = 5, r=(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu+10)/2, $fn=100); |
- |
|
39 |
|
35 |
|
40 |
|
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); |
41 |
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); |
37 |
} |
42 |
} |
38 |
|
43 |
|
39 |
//materiál držáku konektoru |
44 |
//materiál držáku konektoru |
40 |
translate([0,0,D04_sila_materialu_na_konektor/2]) |
45 |
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); |
46 |
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); |
- |
|
47 |
|
42 |
//materiál pro kryt konektoru |
48 |
//materiál pro kryt konektoru |
43 |
//spodní krychle |
49 |
//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]) |
50 |
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); |
51 |
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); |
- |
|
52 |
|
- |
|
53 |
|
46 |
//vrchní válec |
54 |
//vrchní válec |
47 |
translate([0,5,D04_sila_materialu_na_konektor+D04_konenektor_z]) |
55 |
translate([0,5,D04_sila_materialu_na_konektor+D04_konenektor_z]) |
48 |
|
56 |
|
49 |
rotate ([90,0,0]) |
57 |
rotate ([90,0,0]) |
- |
|
58 |
difference() |
- |
|
59 |
{ |
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); |
60 |
cylinder (h = (S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu)/2, r=(D04_konenektor_x+6+2*D03_tloustka_materialu)/2, $fn=100); |
- |
|
61 |
|
- |
|
62 |
translate([0,-(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu)/4,(D04_konenektor_x+6+2*D03_tloustka_materialu)/2]) |
- |
|
63 |
|
- |
|
64 |
cube([(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu)/2,(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu)/2,D04_konenektor_x+6+2*D03_tloustka_materialu],true); |
- |
|
65 |
} |
51 |
|
66 |
|
52 |
} |
67 |
} |
53 |
|
68 |
|
54 |
//otvor na konektor |
69 |
//otvor na konektor |
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]) |
70 |
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]) |
Line 62... |
Line 77... |
62 |
|
77 |
|
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]) |
78 |
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]) |
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); |
79 |
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 |
|
80 |
|
66 |
//odstranění vrchního válce |
81 |
//odstranění vrchního válce |
67 |
translate([0,1,D04_sila_materialu_na_konektor+D04_konenektor_z]) |
82 |
translate([0,5-D03_tloustka_materialu,D04_sila_materialu_na_konektor+D04_konenektor_z]) |
68 |
|
83 |
|
69 |
rotate ([90,0,0]) |
84 |
rotate ([90,0,0]) |
- |
|
85 |
difference() |
- |
|
86 |
{ |
- |
|
87 |
cylinder (h = (S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu)/2, r=(D04_konenektor_x+6)/2, $fn=100); |
- |
|
88 |
//odečtení půl válce |
- |
|
89 |
translate([0,-(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu)/4,(D04_konenektor_x+6+2*D03_tloustka_materialu)/2]) |
- |
|
90 |
|
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); |
91 |
cube([(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu)/2,(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu)/2,D04_konenektor_x+6+2*D03_tloustka_materialu],true); |
71 |
|
92 |
} |
72 |
|
93 |
|
73 |
|
94 |
|
74 |
//otvor na senzor v držáku |
95 |
//otvor na senzor v držáku |
75 |
translate([0,7,-2]) |
96 |
translate([0,7,-2]) |
76 |
translate([0,0,(15+5.08)/2-(5.08+3.3+2)/2]) |
97 |
translate([0,0,(15+5.08)/2-(5.08+3.3+2)/2]) |
Line 78... |
Line 99... |
78 |
|
99 |
|
79 |
|
100 |
|
80 |
|
101 |
|
81 |
} |
102 |
} |
82 |
|
103 |
|
83 |
translate([0,7,(13+5.08)/2+D04_sila_materialu_na_konektor]) |
104 |
translate([0,7,(D04_vyska_drzaku_senzoru)/2]) |
84 |
difference() |
105 |
difference() |
85 |
{ |
106 |
{ |
86 |
cube([10.16+2*D03_tloustka_materialu,3+2*D03_tloustka_materialu,13+5.08],true); |
107 |
cube([10.16+2*D03_tloustka_materialu,3+2*D03_tloustka_materialu,D04_vyska_drzaku_senzoru],true); |
87 |
translate([0,0,(15+5.08)/2-(5.08+3.3+2)/2-3]) |
- |
|
- |
|
108 |
|
88 |
cube([10.16,3,25],true); |
109 |
cube([10.16,3,D04_vyska_drzaku_senzoru+0.01],true); |
89 |
translate([0,15,(15+5.08)/2-(3.3)/2-2]) |
110 |
translate([0,5,D04_vyska_drzaku_senzoru/2-3.08]) |
90 |
rotate ([90,0,0]) |
111 |
rotate ([90,0,0]) |
91 |
cylinder (h = 30, r=(3.3/2), $fn=100); |
112 |
cylinder (h = 30, r=(3.3/2), $fn=100); |
92 |
} |
113 |
} |
93 |
} |
114 |
} |
94 |
|
115 |
|