summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2012-05-28 17:24:48 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2012-05-28 17:24:48 (GMT)
commit45c86b5a5a227447bd58ee4484ab1b3dae1e8f01 (patch)
tree20f3a01f785393674f86405460cf29ede6e45d36 /testdata
parent67eb2ebe90447e966dc1e08b91c43d937c521583 (diff)
add extra shapes for testing 'holes' in cut projections. new test images.
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