Skip to content

Commit a12974b

Browse files
committed
Reduce visual artifacts in the simple example
1 parent c61002d commit a12974b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/simple.scad

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ h = 25;
77
nutcatch_side_offset = 7.5;
88

99
difference () {
10-
translate([-a / 2, -b / 2, 0]) cube([a, b, h]);
10+
// Reduce the height a little bit to drop the visual artifacts from the
11+
// `difference`s on a single surface. In practice, you wouldn't do this, since
12+
// the artifacts don't affect slicing, etc.
13+
translate([-a / 2, -b / 2, 0]) cube([a, b, h - 0.01]);
1114

1215
// A lock nutcatch on the bottom:
1316
nutcatch_parallel("M3", kind = "hexagon_lock");

0 commit comments

Comments
 (0)