@@ -48,18 +48,24 @@ module MainCaseLid() {
4848 [rim_offset, rim_offset+ MainCaseLid_rim_radius, 0 ],
4949
5050 [rim_offset, hole_x- MainCaseLid_rim_radius, 0 ],
51- [rim_offset+ MainCaseLid_rim_radius, hole_x- MainCaseLid_rim_radius, MainCaseLid_rim_radius],
52- [rim_offset+ MainCaseLid_rim_radius, hole_x, 0 ],
53- [rim_offset+ MainCaseLid_rim_radius, OBS_width_small- rim_offset+ dx(rim_offset+ MainCaseLid_rim_radius), 0 ],
51+ [rim_offset+ 0.7 * MainCaseLid_rim_radius, hole_x- 0.5 * MainCaseLid_rim_radius, 0.7 * MainCaseLid_rim_radius],
52+ [rim_offset+ 0.7 * MainCaseLid_rim_radius, hole_x, 0 ],
53+ [rim_offset+ 0.7 * MainCaseLid_rim_radius, OBS_width_small- rim_offset+ dx(rim_offset+ 0.7 * MainCaseLid_rim_radius), 0 ],
5454
55- [OBS_height/2 , OBS_width_small+ dx(OBS_height/2 )- rim_offset, 0 ],
56- [OBS_height/2 , hole_x - rim_offset * 2 , MainCaseLid_rim_radius * 2 ],
55+ [OBS_height/2 , OBS_width_small+ dx(OBS_height/2 )- rim_offset,0 ],
56+ [OBS_height/2 , OBS_width_small+ dx(OBS_height/2 )- rim_offset- 10 ,0 ],
57+ [OBS_height/2 + 8 , OBS_width_small+ dx(OBS_height/2 + 9 )- rim_offset- 10 ,0 ],
58+
59+ [OBS_height- 16 , OBS_width- 1 /tan ((90 - frontside_angle)/2 )* 16 , 0 ],
60+ [OBS_height- rim_offset- 10 , hole_x, 0 ],
61+ [OBS_height- rim_offset- 10 , hole_x - rim_offset * 2 , 0 ],
5762 [OBS_height- rim_offset, hole_x - rim_offset * 2 , 0 ],
5863
5964 [OBS_height- rim_offset, rim_offset+ MainCaseLid_rim_radius, 0 ],
6065 [OBS_height- rim_offset- MainCaseLid_rim_radius, rim_offset+ MainCaseLid_rim_radius, MainCaseLid_rim_radius],
6166 [OBS_height- rim_offset- MainCaseLid_rim_radius, rim_offset, 0 ],
6267 ], fn=$ pfn));
68+ translate ([OBS_height- 16 , OBS_width- 1 /tan ((90 - frontside_angle)/2 )* 16 ])circle(r= MainCase_sensor_hole_diameter/2 + MainCase_sensor_hole_ledge+ rim_offset/2 );
6369 }
6470
6571 module Rim(chamfer_size) {
@@ -114,7 +120,7 @@ module MainCaseLid() {
114120 translate ([0 , 0 , - 15 ])
115121 cylinder (r= MainCase_sensor_hole_diameter/2 , h= 20 );
116122 }
117- translate ([OBS_height- 16 , OBS_width- 16 - sin ( frontside_angle)* 16 , - 20 ]) {
123+ translate ([OBS_height- 16 , OBS_width- 1 / tan (( 90 - frontside_angle)/ 2 )* 16 , - 20 ]) {
118124 cylinder (r= MainCase_sensor_hole_diameter/2 + MainCase_sensor_hole_ledge, h= 20 );
119125 }
120126
@@ -143,4 +149,5 @@ if (logo_generate_templates) {
143149 import(str ("../../logo/" , logo_name, "/MainCaseLid.svg" ));
144150 }
145151}
152+ // translate([0,0,-40])rotate([0,0,-90])mirror([1,0,0])MainCase();
146153
0 commit comments