diff options
author | Marius Kintel <marius@kintel.net> | 2011-09-02 12:31:56 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-09-02 12:31:56 (GMT) |
commit | 8e0651afd456612dc0cbcec83e11f27dcf216a02 (patch) | |
tree | b5ae24d68786d5eedfab62c910566a5608ed0339 /testdata | |
parent | e2da24871de1e77668a723baee81bd8022b10025 (diff) |
Added union-tests
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/scad/features/union-tests.scad | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testdata/scad/features/union-tests.scad b/testdata/scad/features/union-tests.scad new file mode 100644 index 0000000..718aa8c --- /dev/null +++ b/testdata/scad/features/union-tests.scad @@ -0,0 +1,29 @@ +translate([-12,0,0]) union() { + cube([10,10,10]); + translate([4,4,8]) cube([2,2,10]); +} + +union() { + cube([10,10,10]); + translate([0,0,10]) cube([2,2,10]); +} + +translate([12,0,0]) union() { + cube([10,10,10]); + translate([0,0,11]) cube([2,2,10]); +} + +translate([24,0,0]) union() { + cube([10,10,10]); + translate([4,4,10]) cube([2,2,10]); +} + +translate([-12,12,0]) union() { + cube([10,10,10]); + translate([-2,10,10]) cube([2,2,10]); +} + +translate([0,12,0]) union() { + cube([10,10,10]); + translate([0,10,10]) cube([2,2,10]); +} |