File: example010.scad

package info (click to toggle)
openscad 2014.03%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 11,640 kB
  • ctags: 2,863
  • sloc: cpp: 24,054; python: 595; yacc: 466; ansic: 386; sh: 322; lex: 218; lisp: 151; xml: 60; makefile: 36
file content (14 lines) | stat: -rw-r--r-- 304 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

// example010.dat generated using octave:
//   d = (sin(1:0.2:10)' * cos(1:0.2:10)) * 10;
//   save("example010.dat", "d");

intersection()
{
	surface(file = "example010.dat",
		center = true, convexity = 5);
	
	rotate(45, [0, 0, 1])
	surface(file = "example010.dat",
		center = true, convexity = 5);
}