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.scad10
1 files changed, 10 insertions, 0 deletions
diff --git a/testdata/scad/features/projection-tests.scad b/testdata/scad/features/projection-tests.scad
new file mode 100644
index 0000000..e1b05c7
--- /dev/null
+++ b/testdata/scad/features/projection-tests.scad
@@ -0,0 +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