File: CSG%20test.es

package info (click to toggle)
structure-synth 1.0.0-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,072 kB
  • ctags: 1,176
  • sloc: cpp: 7,070; python: 167; makefile: 66; lisp: 25
file content (30 lines) | stat: -rw-r--r-- 525 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

set maxdepth 17
set recursion depth



 template::intersection-begin
{ y 0.5 s 5 1 1 color white } box
template::union-begin
r1
template::union-end
 template::intersection-end

 rule r1 md 17 {
 template::difference-begin
 sphere
 { s 0.99  x -0.1 } sphere
 template::difference-end
 1 * { s 0.95 x -0.1 } 1 * { s 0.95 x -0.1 } r1
 
 }

 rule r1 md 17 {
 template::difference-begin
 sphere
 { s 0.99  x -0.1 } sphere
 template::difference-end
 1 * { s 0.95 x -0.1 } 1 * { s 0.95 x -0.1 } r1
 
 }