Debian Codegraph @

models/oiv_compliance/array.iv

raw
1 #Inventor V2.1 ascii
2
3 # Check rendering under an SoArray.
4 #
5 # 19990423 mortene
6
7 Separator {
8 Switch {
9 whichChild -1
10
11 DEF quadstrip Group {
12 Coordinate3 {
13 point [
14 0.5 -0.5 0, -0.5 -0.5 0,
15 0.5 0.5 0, -0.5 0.5 0,
16 ]
17 }
18 QuadMesh {
19 verticesPerColumn 2
20 verticesPerRow 2
21 }
22 }
23 }
24
25
26 Separator {
27 BaseColor { rgb 1 0 0 }
28 Array {
29 numElements1 2
30 numElements2 2
31 separation1 1.5 0 0
32 separation2 0 1.5 0
33 USE quadstrip
34 }
35
36 BaseColor { rgb 0 1 0 }
37 Translation { translation +4 0 0 }
38 Array {
39 numElements1 2
40 numElements2 2
41 numElements3 2
42 separation1 1.5 0 0
43 separation2 0 1.5 0
44 separation3 0 0 1.5
45 USE quadstrip
46 }
47
48 BaseColor { rgb 0 0 1 }
49 Translation { translation +4 0 0 }
50 Array {
51 numElements1 2
52 numElements2 2
53 numElements3 2
54 separation1 1.5 0 0
55 separation2 0 1.5 0
56 separation3 0 0 1.5
57 origin FIRST
58 USE quadstrip
59 }
60
61 BaseColor { rgb 1 1 0 }
62 Translation { translation +4 0 0 }
63 Array {
64 numElements1 2
65 numElements2 2
66 numElements3 2
67 separation1 1.5 0 0
68 separation2 0 1.5 0
69 separation3 0 0 1.5
70 origin CENTER
71 USE quadstrip
72 }
73
74 BaseColor { rgb 1 0 1 }
75 Translation { translation +4 0 0 }
76 Array {
77 numElements1 2
78 numElements2 2
79 numElements3 2
80 separation1 1.5 0 0
81 separation2 0 1.5 0
82 separation3 0 0 1.5
83 origin LAST
84 USE quadstrip
85 }
86 }
87
88 # (ROW 1) "wild" values
89 Translation { translation 0 +8 0 }
90 Separator {
91 BaseColor { rgb 1 1 1 }
92 Array {
93 numElements1 3
94 numElements2 5
95 numElements3 7
96 separation1 0.1 0.8 2.3
97 separation2 -1 2 0
98 separation3 0.4 -0.4 0.1
99 origin LAST
100 USE quadstrip
101 }
102 }
103 }