summaryrefslogtreecommitdiff
path: root/testdata/scad/features/projection-tests.scad
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/scad/features/projection-tests.scad')
-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 619aa01..e1b05c7 100644
--- a/testdata/scad/features/projection-tests.scad
+++ b/testdata/scad/features/projection-tests.scad
@@ -1,3 +1,10 @@
+// Empty
+projection();
+// No children
+projection() { }
+// 2D child
+projection(cut=true) { square(); }
+
linear_extrude(height=20) projection(cut=false) sphere(r=10);
translate([22,0,0]) linear_extrude(height=20) projection(cut=true) translate([0,0,9]) sphere(r=10);
translate([44,0,0]) linear_extrude(height=20) projection(cut=true) translate([0,0,7]) sphere(r=10);
contact: Jan Huwald // Impressum