Skip to content

Commit e2dd8b4

Browse files
committed
Add ridge for easier sensor mounting.
1 parent 9b19c85 commit e2dd8b4

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

src/MainCase/MainCase.scad

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,11 @@ module MainCase(without_inserts=false, top_rider=MainCase_top_rider, back_rider=
342342

343343
// The hole for the sensor
344344
translate([OBS_height-16, OBS_width-1/tan((90-frontside_angle)/2)*16, 0]) {
345-
translate([0, 0, -2])
346-
cylinder(r=MainCase_sensor_hole_diameter/2, h=70+4);
345+
// the sensor has about 1.5 mm space for the silicone edge.
346+
translate([0, 0, 0])
347+
cylinder(r = MainCase_sensor_hole_diameter / 2, h = 2);
348+
translate([0, 0, 1.6])
349+
cylinder(r = MainCase_sensor_hole_diameter / 2+1.2, h = 1.5 );
347350

348351
// In the main case, we have to cut the clearance hole larger than
349352
// requeste, to account for the width and twice the clearance of the rim

src/MainCase/MainCaseLid.scad

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ module MainCaseLid() {
119119
translate([OBS_height-16, OBS_width-1/tan((90-frontside_angle)/2)*16, 0]) {
120120
translate([0, 0, -15])
121121
cylinder(r=MainCase_sensor_hole_diameter/2, h=20);
122+
// the sensor has about 1.5 mm space for the silicone edge.
123+
translate([0, 0, 0])
124+
cylinder(r = MainCase_sensor_hole_diameter / 2+1.2, h = wall_thickness-1.5 );
122125
}
123126
translate([OBS_height-16, OBS_width-1/tan((90-frontside_angle)/2)*16, -20]) {
124127
cylinder(r=MainCase_sensor_hole_diameter/2 + MainCase_sensor_hole_ledge, h=20);

0 commit comments

Comments
 (0)