summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2012-05-28 17:38:40 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2012-05-28 17:38:40 (GMT)
commit5b366adf8a9fb1b677eb9340f97ec764a15e5425 (patch)
treedf5b51ea393c766f0a38679bb0ccd6119a6d3a0b /testdata
parentf4d9383d2940f959c207a8ea1cfe74db29fc804d (diff)
adding new test images for 'hole' with projection-cut
Diffstat (limited to 'testdata')
-rw-r--r--testdata/scad/features/projection-tests.scad7
1 files changed, 7 insertions, 0 deletions
diff --git a/testdata/scad/features/projection-tests.scad b/testdata/scad/features/projection-tests.scad
index edb65ba..e6c52ea 100644
--- a/testdata/scad/features/projection-tests.scad
+++ b/testdata/scad/features/projection-tests.scad
@@ -11,3 +11,10 @@ translate([44,0,0]) linear_extrude(height=20) projection(cut=true) translate([0,
// Boundary case: clipping the top of a cube
translate([0,-22,0]) linear_extrude(height=5) projection(cut=true) translate([0,0,-4.999999]) cube(10, center=true);
+
+// holes
+translate([0,-44,0]) linear_extrude(height=5) projection(cut=true)
+ union() {
+ difference() { cube(5,center=true); cube(4,center=true); }
+ translate([2.1,2.1]) difference() { cube(5,center=true); cube(4,center=true); }
+ }
contact: Jan Huwald // Impressum