summaryrefslogtreecommitdiff
path: root/tests/regression/dumptest/example002-expected.csg
blob: a34dd2aefbd6397d956aef8142ca64bd0e8dccf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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