[project_box] Offset lid cutouts

The lid is offset by the wall width and the fit tolerance of the
internal project area, as it begins at the front wall and ends over the
lip of the back wall.
This commit is contained in:
Correl Roush 2022-12-07 16:02:50 -05:00
parent ca93d31f34
commit 2b63263b60

View file

@ -210,7 +210,7 @@ module cutout_left(box, wall_width=3, fit_tolerance=0.5) {
}
module cutout_top(box, wall_width=3, fit_tolerance=0.5) {
translate([0, 0, box.z])
translate([0, 0 - wall_width - fit_tolerance, box.z])
linear_extrude(height=wall_width + fit_tolerance + 0.001)
children(0);
}