summaryrefslogtreecommitdiff
path: root/testdata/scad/features/intersection_for-tests.scad
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2011-09-12 22:40:51 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2011-09-12 22:40:51 (GMT)
commitf5f06c8e976ca45aebea42fe8c04bf7404357ac8 (patch)
tree8d0cdd2698e7806c1b12cc49e743b561e1082961 /testdata/scad/features/intersection_for-tests.scad
parent007c40848db9efd704694f2e7596cabed80da50f (diff)
parent5ac9162f1c67fd21737ead11d7ebc638bf4eef5f (diff)
merge
Merge remote branch 'upstream/visitor' into visitortests Conflicts: src/export.cc src/openscad.cc src/polyset.cc src/transform.cc tests/CMakeLists.txt tests/FindGLEW.cmake tests/csgtermtest.cc
Diffstat (limited to 'testdata/scad/features/intersection_for-tests.scad')
-rw-r--r--testdata/scad/features/intersection_for-tests.scad10
1 files changed, 10 insertions, 0 deletions
diff --git a/testdata/scad/features/intersection_for-tests.scad b/testdata/scad/features/intersection_for-tests.scad
new file mode 100644
index 0000000..6ab1a89
--- /dev/null
+++ b/testdata/scad/features/intersection_for-tests.scad
@@ -0,0 +1,10 @@
+// Empty
+intersection_for();
+// No children
+intersection_for(i=1) { }
+
+intersection_for(i = [[0, 0, 0],
+ [10, 20, 300],
+ [200, 40, 57],
+ [20, 88, 57]])
+ rotate(i) cube([100, 20, 20], center = true);
contact: Jan Huwald // Impressum