Skip to content

Commit 9b19c85

Browse files
committed
fix slight printability helper issue in switch cavity.
1 parent d641acf commit 9b19c85

8 files changed

Lines changed: 37418 additions & 41448 deletions

File tree

export/MainCase/MainCase.stl

Lines changed: 12405 additions & 14211 deletions
Large diffs are not rendered by default.

export/logo/OpenBikeSensor/MainCase-inverted-highlight.stl

Lines changed: 121 additions & 121 deletions
Large diffs are not rendered by default.

export/logo/OpenBikeSensor/MainCase-inverted-main.stl

Lines changed: 12505 additions & 13611 deletions
Large diffs are not rendered by default.

export/logo/OpenBikeSensor/MainCase-normal-main.stl

Lines changed: 12383 additions & 13489 deletions
Large diffs are not rendered by default.
66 Bytes
Loading

src/MainCase/MainCase.scad

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,10 @@ module MainCase(without_inserts=false, top_rider=MainCase_top_rider, back_rider=
226226
linear_extrude(OBS_depth)
227227
rotate([0,0,-90+frontside_angle])
228228
polygon(polyRound([
229-
[0,(MainCase_switch_offset_x)/OBS_height*slope_length-11, 0],
229+
[0,(MainCase_switch_offset_x)/OBS_height*slope_length+11,03],
230230

231-
[13,(MainCase_switch_offset_x)/OBS_height*slope_length-11,03],
232-
[13,(MainCase_switch_offset_x)/OBS_height*slope_length+11,03],
233231
[8,(MainCase_switch_offset_x)/OBS_height*slope_length+11,03],
234-
//[12,(MainCase_switch_offset_x)/OBS_height*slope_length+25, 5],
232+
[12,(MainCase_switch_offset_x)/OBS_height*slope_length+25, 5],
235233

236234
[8,MainCaseLid_hole_positions[4][0]/OBS_height*slope_length+4,5],
237235
[0,(MainCase_switch_offset_x)/OBS_height*slope_length+27, 0]
@@ -397,16 +395,6 @@ module MainCase(without_inserts=false, top_rider=MainCase_top_rider, back_rider=
397395
if(enable_text) {
398396
translate([11,-1.5,-0.49])linear_extrude(0.6)rotate([0,0,180]) text("I / O",font="open sans:style=Bold", size=8);
399397
}
400-
401-
// Rounded cutout on the inside, the main switch body sits in this place.
402-
translate([0, -wall_thickness, 24])
403-
linear_extrude(200)
404-
polygon(polyRound([
405-
[-15.1, -20, 0],
406-
[-15.1, 0, 2],
407-
[15.1, 0, 2],
408-
[15.1, -20, 0],
409-
], fn=$pfn));
410398
}
411399

412400

src/MainCase/MainCaseLid.scad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,6 @@ if (logo_generate_templates) {
149149
import(str("../../logo/", logo_name, "/MainCaseLid.svg"));
150150
}
151151
}
152-
// When changing MainCase outer dimensions, check that the rim does still fit by removing the asterisk
152+
// When changing MainCase outer dimensions, check that the rim does still fit by removing the asterisk:
153153
*#translate([0,0,-40])rotate([0,0,-90])mirror([1,0,0])MainCase();
154154

variables.scad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ UsbCover_wing_width = 2.6;
9797
UsbCover_wing_length = 2.0;
9898

9999
MainCase_small_corner_radius = 5;
100-
MainCase_switch_offset_x = 22;
100+
MainCase_switch_offset_x = 25;
101101
MainCase_sensor_hole_diameter = 22.3; // 0.3 clearance
102102
MainCase_sensor_hole_ledge = 1.0;
103103

0 commit comments

Comments
 (0)