Line 57... |
Line 57... |
57 |
rotate ([90,0,0]) |
57 |
rotate ([90,0,0]) |
58 |
difference() |
58 |
difference() |
59 |
{ |
59 |
{ |
60 |
cylinder (h = (S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu)/2, r=(D04_konenektor_x+6+2*D03_tloustka_materialu)/2, $fn=100); |
60 |
cylinder (h = (S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu)/2, r=(D04_konenektor_x+6+2*D03_tloustka_materialu)/2, $fn=100); |
61 |
|
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]) |
62 |
translate([0,-(S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu)/4,(D04_konenektor_x+6+2*D03_tloustka_materialu)/2]) |
63 |
|
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); |
64 |
cube([(S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu)/2,(S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu)/2,D04_konenektor_x+6+2*D03_tloustka_materialu],true); |
65 |
} |
65 |
} |
66 |
|
66 |
|
67 |
} |
67 |
} |
68 |
|
68 |
|
69 |
//otvor na konektor |
69 |
//otvor na konektor |
Line 74... |
Line 74... |
74 |
//pro nasunutí ve spodní části |
74 |
//pro nasunutí ve spodní části |
75 |
translate([0,-(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu-D01_material_za_zavitem)/2,-0.01]) |
75 |
translate([0,-(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu-D01_material_za_zavitem)/2,-0.01]) |
76 |
cube([D04_konenektor_x,D04_konenektor_y,18],true); |
76 |
cube([D04_konenektor_x,D04_konenektor_y,18],true); |
77 |
|
77 |
|
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]) |
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]) |
- |
|
79 |
//odstranění spodního kvádru v oblasti krytu konektoru |
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); |
80 |
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+0.01],true); |
80 |
|
81 |
|
81 |
//odstranění vrchního válce |
82 |
//odstranění vrchního válce |
82 |
translate([0,5-D03_tloustka_materialu,D04_sila_materialu_na_konektor+D04_konenektor_z]) |
83 |
translate([0,5-D03_tloustka_materialu,D04_sila_materialu_na_konektor+D04_konenektor_z]) |
83 |
|
84 |
|
84 |
rotate ([90,0,0]) |
85 |
rotate ([90,0,0]) |
85 |
difference() |
86 |
difference() |
86 |
{ |
87 |
{ |
87 |
cylinder (h = (S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu)/2, r=(D04_konenektor_x+6)/2, $fn=100); |
88 |
cylinder (h = (S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu)/2, r=(D04_konenektor_x+6)/2, $fn=100); |
88 |
//odečtení půl válce |
89 |
//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 |
translate([0,-(S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu)/4,((S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu))/2]) |
90 |
|
91 |
|
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); |
92 |
cube([(S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu)/2,(S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu)/2,(S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu)],true); |
92 |
} |
93 |
} |
93 |
|
94 |
|
94 |
|
95 |
|
95 |
//otvor na senzor v držáku |
96 |
//otvor na senzor v držáku |
96 |
translate([0,7,-2]) |
97 |
translate([0,7,-2]) |