summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-28 20:35:42 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-28 20:35:42 (GMT)
commit2779e7dea95e16397c25d88b76634931b24e504c (patch)
tree9414a2c66125ef898ff078e0390365ccaa76cc1a /testdata
parent51155dc6918b6628c5b713ad80283790467e77b9 (diff)
added highlight-and-background-modifier and child-background tests
Diffstat (limited to 'testdata')
-rw-r--r--testdata/scad/features/child-background.scad8
-rw-r--r--testdata/scad/features/highlight-and-background-modifier.scad8
2 files changed, 16 insertions, 0 deletions
diff --git a/testdata/scad/features/child-background.scad b/testdata/scad/features/child-background.scad
new file mode 100644
index 0000000..9923913
--- /dev/null
+++ b/testdata/scad/features/child-background.scad
@@ -0,0 +1,8 @@
+module transparent() {
+ %child();
+}
+
+difference() {
+ sphere(r=10);
+ transparent() cylinder(h=30, r=6, center=true);
+}
diff --git a/testdata/scad/features/highlight-and-background-modifier.scad b/testdata/scad/features/highlight-and-background-modifier.scad
new file mode 100644
index 0000000..945d6b4
--- /dev/null
+++ b/testdata/scad/features/highlight-and-background-modifier.scad
@@ -0,0 +1,8 @@
+difference() {
+ sphere(r=10);
+ %#cylinder(h=30, r=6, center=true);
+}
+translate([13,0,0]) difference() {
+ sphere(r=10);
+ #%cylinder(h=30, r=6, center=true);
+}
contact: Jan Huwald // Impressum