File: linear_extrude-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 (31 lines) | stat: -rw-r--r-- 1,151 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
group() {
	group();
	color([1, 0, 0, 1]) {
		multmatrix([[1, 0, 0, 0], [0, 1, 0, -30], [0, 0, 1, 0], [0, 0, 0, 1]]) {
			linear_extrude(height = 20, center = false, convexity = 1, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
				square(size = [20, 10], center = true);
			}
		}
	}
	color([0, 0.501961, 0, 1]) {
		multmatrix([[1, 0, 0, -30], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
			linear_extrude(height = 20, center = false, convexity = 1, scale = [0.2, 0.2], $fn = 0, $fa = 12, $fs = 2) {
				square(size = [20, 10], center = true);
			}
		}
	}
	color([0, 1, 1, 1]) {
		multmatrix([[1, 0, 0, 30], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
			linear_extrude(height = 20, center = false, convexity = 1, twist = 90, slices = 7, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
				square(size = [20, 10], center = true);
			}
		}
	}
	color([0.501961, 0.501961, 0.501961, 1]) {
		multmatrix([[1, 0, 0, 0], [0, 1, 0, 30], [0, 0, 1, 0], [0, 0, 0, 1]]) {
			linear_extrude(height = 40, center = true, convexity = 1, twist = -360, slices = 200, scale = [0, 0], $fn = 0, $fa = 12, $fs = 2) {
				square(size = [20, 10], center = true);
			}
		}
	}
}