File: example003.scad

package info (click to toggle)
openscad 2011.12-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 9,080 kB
  • sloc: cpp: 19,710; python: 990; yacc: 558; sh: 537; ansic: 522; lex: 221; lisp: 147; xml: 36; makefile: 35
file content (20 lines) | stat: -rw-r--r-- 358 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

module example003()
{
	difference() {
		union() {
			cube([30, 30, 30], center = true);
			cube([40, 15, 15], center = true);
			cube([15, 40, 15], center = true);
			cube([15, 15, 40], center = true);
		}
		union() {
			cube([50, 10, 10], center = true);
			cube([10, 50, 10], center = true);
			cube([10, 10, 50], center = true);
		}
	}
}

example003();