File: union-expected.csg

package info (click to toggle)
openscad 2015.03-2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 30,804 kB
  • ctags: 5,692
  • sloc: cpp: 39,386; sh: 3,856; ansic: 3,674; python: 1,393; yacc: 496; lex: 272; lisp: 159; makefile: 67; xml: 60
file content (18 lines) | stat: -rw-r--r-- 415 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
group() {
	group();
	group() {
		difference() {
			union() {
				cube(size = [30, 30, 30], center = true);
				cube(size = [40, 15, 15], center = true);
				cube(size = [15, 40, 15], center = true);
				cube(size = [15, 15, 40], center = true);
			}
			union() {
				cube(size = [50, 10, 10], center = true);
				cube(size = [10, 50, 10], center = true);
				cube(size = [10, 10, 50], center = true);
			}
		}
	}
}