summaryrefslogtreecommitdiff
path: root/tests/regression/dumptest/example002-expected.csg
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regression/dumptest/example002-expected.csg')
-rw-r--r--tests/regression/dumptest/example002-expected.csg22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/regression/dumptest/example002-expected.csg b/tests/regression/dumptest/example002-expected.csg
new file mode 100644
index 0000000..a34dd2a
--- /dev/null
+++ b/tests/regression/dumptest/example002-expected.csg
@@ -0,0 +1,22 @@
+group() {
+ group() {
+ intersection() {
+ difference() {
+ union() {
+ cube(size = [30, 30, 30], center = true);
+ multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, -25], [0, 0, 0, 1]]) {
+ cube(size = [15, 15, 50], center = true);
+ }
+ }
+ union() {
+ cube(size = [50, 10, 10], center = true);
+ cube(size = [10, 50, 10], center = true);
+ cube(size = [10, 10, 50], center = true);
+ }
+ }
+ multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 5], [0, 0, 0, 1]]) {
+ cylinder($fn = 0, $fa = 12, $fs = 2, h = 50, r1 = 20, r2 = 5, center = true);
+ }
+ }
+ }
+}
contact: Jan Huwald // Impressum