summaryrefslogtreecommitdiff
path: root/testdata/scad/features/hull3-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/hull3-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/hull3-tests.scad')
-rw-r--r--testdata/scad/features/hull3-tests.scad27
1 files changed, 27 insertions, 0 deletions
diff --git a/testdata/scad/features/hull3-tests.scad b/testdata/scad/features/hull3-tests.scad
new file mode 100644
index 0000000..2bd7d73
--- /dev/null
+++ b/testdata/scad/features/hull3-tests.scad
@@ -0,0 +1,27 @@
+// 3d not currently implemented
+module convex3dSimple() {
+ hull() {
+ translate([15,10]) cylinder(r=10);
+ cylinder(r=10);
+ }
+}
+
+// 3d not currently implemented
+module convex3dHole() {
+ hull() {
+ translate([15,10,0]) cylinder(10);
+ difference() {
+ cylinder(10);
+ cylinder(5);
+ }
+ }
+}
+
+translate([0,40,0]) convex3dHole();
+translate([40,40,0]) convex3dSimple();
+
+// Empty
+hull();
+// No children
+hull() { }
+
contact: Jan Huwald // Impressum