Skip to content

Commit 7509f42

Browse files
committed
small changes to avoid geometry problems preventing make from cached lid.
1 parent 4b8d027 commit 7509f42

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/MainCase/MainCaseLid.scad

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module MainCaseLid() {
4242
module Rim(chamfer_size) {
4343
rim_offset = wall_thickness + MainCaseLid_rim_clearance;
4444
hole_x = 75;
45-
rs = MainCase_sensor_hole_diameter / 2 + 2; //shorthand for readabilty: radius around the sensor hole.
45+
rs = MainCase_sensor_hole_diameter / 2 + 2.4; //shorthand for readabilty: radius around the sensor hole.
4646

4747
dx = function (x) x * tan(frontside_angle);
4848
rimPolyPoints = remove_conseq_dupes(polyRound([
@@ -73,8 +73,8 @@ module MainCaseLid() {
7373
], fn = $pfn));
7474

7575
translate([0, 0, - MainCaseLid_rim_thickness])difference() {
76-
offset_sweep(rimPolyPoints, height = MainCaseLid_rim_thickness, bottom = os_chamfer(chamfer_size), steps = 4, check_valid = false);
77-
offset_sweep(offset(rimPolyPoints, r = - MainCaseLid_rim_width, closed = true), height = MainCaseLid_rim_thickness, bottom = os_chamfer(-chamfer_size), steps = 4, check_valid = false, $fn = 15);
76+
offset_sweep(rimPolyPoints, height = MainCaseLid_rim_thickness, bottom = os_chamfer(chamfer_size), steps = 2, check_valid = true,$fn = 16);
77+
offset_sweep(offset(rimPolyPoints, r = - MainCaseLid_rim_width, closed = true), height = MainCaseLid_rim_thickness, bottom = os_chamfer(-chamfer_size), steps = 2, check_valid = true, $fn = 16);
7878
}
7979
}
8080

0 commit comments

Comments
 (0)