@@ -137,18 +137,18 @@ module DisplayCaseTop() {
137137 difference () {
138138 union () {
139139 translate ([0 , 0 , - 100 ])
140- cylinder (d= 3.3 , h= 200 );
140+ cylinder (d= m3_screw_diameter_loose , h= 200 );
141141
142142 translate ([0 , 0 , 0 ])
143- cylinder (d= 6.4 , h= 2.7 );
143+ cylinder (d= m3_screw_head_diameter , h= 2.7 );
144144
145- translate ([- 3.3 /2 , - 3.3 , 8 - 3.3 ])
146- cube ([3.3 , 3.3 , 20 ]);
145+ translate ([- m3_screw_diameter_loose /2 , - m3_screw_diameter_loose , 8 - 3.3 ])
146+ cube ([m3_screw_diameter_loose, m3_screw_diameter_loose , 20 ]);
147147 }
148148
149149 if (enable_easy_print)
150150 translate ([0 , 0 , 2.7 ])
151- EasyPrintHoleShink(3.3 , 6.4 , 2 );
151+ EasyPrintHoleShink(3.3 , m3_screw_head_diameter , 2 );
152152 }
153153 }
154154
@@ -183,6 +183,8 @@ module DisplayCaseTop() {
183183 union () {
184184 translate ([0 , 0 , - 1 ])
185185 cylinder (d= DisplayCaseTop_button_diameter, h= 20 );
186+ translate ([0 , 0 , - pcb_depth+ DisplayCaseTop_pcb_standoff+ DisplayCaseTop_pcb_origin.z])
187+ cylinder (h= 5 ,d= DisplayCaseTop_button_nut_diameter);
186188
187189 translate ([0 , 0 , - 1 ])
188190 cylinder (d= DisplayCaseTop_button_outside_diameter, h= 1 + DisplayCaseTop_button_outside_depth);
@@ -192,7 +194,18 @@ module DisplayCaseTop() {
192194 translate ([0 , 0 , DisplayCaseTop_button_outside_depth])
193195 EasyPrintHoleShink(DisplayCaseTop_button_diameter, DisplayCaseTop_button_outside_diameter, 3 );
194196 }
195- }
197+ };
198+
199+ translate (DisplayCaseTop_pcb_origin - [0 , DisplayCaseTop_pcb_height / 2 - epsilon,pcb_depth- DisplayCaseTop_pcb_standoff]) linear_extrude(4 )
200+ polygon(polyRound([
201+ [- 10.5 ,0 ,0 ],
202+ [- 8.5 , 0 , 2 ],
203+ [- 8.5 , - 6 , 0 ],
204+ [0 ,- 4.4 ,0 ],
205+ [9.9 ,- 4.4 ,2 ],
206+ [9.9 ,0 ,2 ],
207+ [12.9 ,0 ,0 ]
208+ ]));
196209 }
197210
198211 translate (DisplayCaseTop_pcb_origin)
0 commit comments