diff options
Diffstat (limited to 'tests/regression/dumptest/union-tests-expected.csg')
-rw-r--r-- | tests/regression/dumptest/union-tests-expected.csg | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/tests/regression/dumptest/union-tests-expected.csg b/tests/regression/dumptest/union-tests-expected.csg new file mode 100644 index 0000000..064fbe2 --- /dev/null +++ b/tests/regression/dumptest/union-tests-expected.csg @@ -0,0 +1,48 @@ +group() { + multmatrix([[1, 0, 0, -12], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) { + union() { + cube(size = [10, 10, 10], center = false); + multmatrix([[1, 0, 0, 4], [0, 1, 0, 4], [0, 0, 1, 8], [0, 0, 0, 1]]) { + cube(size = [2, 2, 10], center = false); + } + } + } + union() { + cube(size = [10, 10, 10], center = false); + multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 10], [0, 0, 0, 1]]) { + cube(size = [2, 2, 10], center = false); + } + } + multmatrix([[1, 0, 0, 12], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) { + union() { + cube(size = [10, 10, 10], center = false); + multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 11], [0, 0, 0, 1]]) { + cube(size = [2, 2, 10], center = false); + } + } + } + multmatrix([[1, 0, 0, 24], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) { + union() { + cube(size = [10, 10, 10], center = false); + multmatrix([[1, 0, 0, 4], [0, 1, 0, 4], [0, 0, 1, 10], [0, 0, 0, 1]]) { + cube(size = [2, 2, 10], center = false); + } + } + } + multmatrix([[1, 0, 0, -12], [0, 1, 0, 12], [0, 0, 1, 0], [0, 0, 0, 1]]) { + union() { + cube(size = [10, 10, 10], center = false); + multmatrix([[1, 0, 0, -2], [0, 1, 0, 10], [0, 0, 1, 10], [0, 0, 0, 1]]) { + cube(size = [2, 2, 10], center = false); + } + } + } + multmatrix([[1, 0, 0, 0], [0, 1, 0, 12], [0, 0, 1, 0], [0, 0, 0, 1]]) { + union() { + cube(size = [10, 10, 10], center = false); + multmatrix([[1, 0, 0, 0], [0, 1, 0, 10], [0, 0, 1, 10], [0, 0, 0, 1]]) { + cube(size = [2, 2, 10], center = false); + } + } + } +} |