diff options
author | chrysn <chrysn@fsfe.org> | 2013-06-24 15:20:33 (GMT) |
---|---|---|
committer | chrysn <chrysn@fsfe.org> | 2013-06-25 11:41:47 (GMT) |
commit | 400248d566d5c3db34253a94f70c128e68ea9121 (patch) | |
tree | 33254aedd319fca7672976aaa07a1f1a1ff229a5 /tests/regression/dumptest/hull-tests-expected.csg | |
parent | b715e580f7c0e541cc07c0d0d13da8df64d88f18 (diff) |
renamed dumptest files to .csg and added group headers
Diffstat (limited to 'tests/regression/dumptest/hull-tests-expected.csg')
-rw-r--r-- | tests/regression/dumptest/hull-tests-expected.csg | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/tests/regression/dumptest/hull-tests-expected.csg b/tests/regression/dumptest/hull-tests-expected.csg new file mode 100644 index 0000000..22b860c --- /dev/null +++ b/tests/regression/dumptest/hull-tests-expected.csg @@ -0,0 +1,47 @@ +group() { +group() { + group() { + hull() { + multmatrix([[1, 0, 0, 15], [0, 1, 0, 10], [0, 0, 1, 0], [0, 0, 0, 1]]) { + circle($fn = 0, $fa = 12, $fs = 1, r = 10); + } + difference() { + circle($fn = 0, $fa = 12, $fs = 1, r = 10); + circle($fn = 0, $fa = 12, $fs = 1, r = 5); + } + } + } + multmatrix([[1, 0, 0, 40], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) { + group() { + hull() { + multmatrix([[1, 0, 0, 15], [0, 1, 0, 10], [0, 0, 1, 0], [0, 0, 0, 1]]) { + circle($fn = 0, $fa = 12, $fs = 1, r = 10); + } + circle($fn = 0, $fa = 12, $fs = 1, r = 10); + } + } + } + multmatrix([[1, 0, 0, 0], [0, 1, 0, 40], [0, 0, 1, 0], [0, 0, 0, 1]]) { + group() { + hull() { + multmatrix([[1, 0, 0, 15], [0, 1, 0, 10], [0, 0, 1, 0], [0, 0, 0, 1]]) { + cylinder($fn = 0, $fa = 12, $fs = 1, h = 10, r1 = 1, r2 = 1, center = false); + } + difference() { + cylinder($fn = 0, $fa = 12, $fs = 1, h = 10, r1 = 1, r2 = 1, center = false); + cylinder($fn = 0, $fa = 12, $fs = 1, h = 5, r1 = 1, r2 = 1, center = false); + } + } + } + } + multmatrix([[1, 0, 0, 40], [0, 1, 0, 40], [0, 0, 1, 0], [0, 0, 0, 1]]) { + group() { + hull() { + multmatrix([[1, 0, 0, 15], [0, 1, 0, 10], [0, 0, 1, 0], [0, 0, 0, 1]]) { + cylinder($fn = 0, $fa = 12, $fs = 1, h = 1, r1 = 10, r2 = 10, center = false); + } + cylinder($fn = 0, $fa = 12, $fs = 1, h = 1, r1 = 10, r2 = 10, center = false); + } + } + } +}} |