File: link2.grp

package info (click to toggle)
geomview 1.9.5-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,096 kB
  • sloc: ansic: 93,696; sh: 12,051; cpp: 1,215; makefile: 1,075; objc: 263; perl: 153; yacc: 152; tcl: 76; lex: 74
file content (23 lines) | stat: -rw-r--r-- 437 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
GROUP
 # Reflect about X and Z axes
  1 0 0 0	0 1 0 0	0 0 1 0	0 0 0 1

  1 0 0 0	0 1 0 0	0 0 -1 0	0 0 0 1

  -1 0 0 0	0 1 0 0	0 0 1 0	0 0 0 1

  -1 0 0 0	0 1 0 0	0 0 -1 0	0 0 0 1

unit { =
 LIST
 { = INST # Semicircular ends of torus
transform
  1 0 0 0	0 1 0 0	0 0 1 0	2 0 0 1
  unit < pieces/linkA.bez
 }
 { = GROUP # Joining pieces
  1 0 0 0	0 1 0 0	0 0 1 0	-2 0 0 1
  1 0 0 0	0 -1 0 0	0 0 1 0	-2 0 0 1
  unit < pieces/linkB.bez
 }
}