summaryrefslogtreecommitdiff
path: root/testdata/scad/features/highlight-and-background-modifier.scad
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2013-05-25 19:21:17 (GMT)
committerMarius Kintel <marius@kintel.net>2013-05-25 19:21:17 (GMT)
commit9740232b080ac3d2fe87309fb51a892faf6ea913 (patch)
tree974ac256413de1111a085d12cad7bc3f755792dd /testdata/scad/features/highlight-and-background-modifier.scad
parentfef8dba56bae76f6e876656cee603fc895fa0955 (diff)
parente60744776193d5dc3f22e7a4a9f3afa8b8664e30 (diff)
Merge branch 'master' into issue364
Diffstat (limited to 'testdata/scad/features/highlight-and-background-modifier.scad')
-rw-r--r--testdata/scad/features/highlight-and-background-modifier.scad31
1 files changed, 26 insertions, 5 deletions
diff --git a/testdata/scad/features/highlight-and-background-modifier.scad b/testdata/scad/features/highlight-and-background-modifier.scad
index 5dca703..d97408b 100644
--- a/testdata/scad/features/highlight-and-background-modifier.scad
+++ b/testdata/scad/features/highlight-and-background-modifier.scad
@@ -1,10 +1,31 @@
difference() {
sphere(r=10);
%#cylinder(h=30, r=6, center=true);
- %#if (true) cube([6,25,3], center=true);
+ %#if (true) cube([25,6,3], center=true);
}
-translate([13,0,0]) difference() {
- sphere(r=10);
- #%cylinder(h=30, r=6, center=true);
- #%if (true) cube([6,25,3], center=true);
+%#translate([0,-9,0]) difference() {
+ color("green") cube([10,4,10], center=true);
+ color("red") translate([0,-2,0]) sphere(3);
+}
+%translate([13,0,0]){
+ difference() {
+ sphere(r=10);
+ cylinder(h=30, r=6, center=true);
+ if (true) cube([25,6,3], center=true);
+ }
+ #translate([0,-9,0]) difference() {
+ color("green") cube([10,4,10], center=true);
+ color("red") translate([0,-2,0]) sphere(3);
+ }
+}
+#translate([26,0,0]){
+ difference() {
+ sphere(r=10);
+ cylinder(h=30, r=6, center=true);
+ if (true) cube([25,6,3], center=true);
+ }
+ %translate([0,-9,0]) difference() {
+ color("green") cube([10,4,10], center=true);
+ color("red") translate([0,-2,0]) sphere(3);
+ }
}
contact: Jan Huwald // Impressum