Debian Codegraph @

models/oiv_compliance/shapehints.iv

raw
1 #Inventor V2.1 ascii
2
3 # Check all aspects of rendering with SoShapeHints nodes.
4 #
5 # 19990504 mortene
6
7 Separator {
8 Switch {
9 whichChild -1
10 DEF faces Group {
11 Coordinate3 {
12 point [
13 -2 -1 0, -1 -1 0.2, 1 -1 -0.5, 2 -1 0,
14 -2 1 0, -1 1 0.2, 1 1 -0.5, 2 1 0,
15 ]
16 }
17 IndexedFaceSet {
18 coordIndex [ 0, 1, 5, 4, -1, 1, 2, 6, 5, -1, 2, 3, 7, 6, -1]
19 }
20 }
21 }
22
23 # (ROW 0) vertexOrdering
24 Separator {
25 USE faces
26
27 ShapeHints { }
28 Translation { translation +6 0 0 }
29 USE faces
30
31 ShapeHints { vertexOrdering UNKNOWN_ORDERING }
32 Translation { translation +6 0 0 }
33 USE faces
34
35 ShapeHints { vertexOrdering CLOCKWISE }
36 Translation { translation +6 0 0 }
37 USE faces
38
39 ShapeHints { vertexOrdering COUNTERCLOCKWISE }
40 Translation { translation +6 0 0 }
41 USE faces
42 }
43
44 # (ROW 1) shapeType
45 Translation { translation 0 +4 0 }
46 Separator {
47 USE faces
48
49 ShapeHints { }
50 Translation { translation +6 0 0 }
51 USE faces
52
53 ShapeHints { shapeType UNKNOWN_SHAPE_TYPE }
54 Translation { translation +6 0 0 }
55 USE faces
56
57 ShapeHints { shapeType SOLID }
58 Translation { translation +6 0 0 }
59 USE faces
60 }
61
62 # (ROW 2) faceType
63 Translation { translation 0 +4 0 }
64 Separator {
65 USE faces
66
67 ShapeHints { }
68 Translation { translation +6 0 0 }
69 USE faces
70
71 ShapeHints { faceType UNKNOWN_FACE_TYPE }
72 Translation { translation +6 0 0 }
73 USE faces
74
75 ShapeHints { faceType CONVEX }
76 Translation { translation +6 0 0 }
77 USE faces
78 }
79
80 # (ROW 3) creaseAngle
81 Translation { translation 0 +4 0 }
82 Separator {
83 USE faces
84
85 ShapeHints { }
86 Translation { translation +6 0 0 }
87 USE faces
88
89 ShapeHints { creaseAngle 0 }
90 Translation { translation +6 0 0 }
91 USE faces
92
93 ShapeHints { creaseAngle 0.39 }
94 Translation { translation +6 0 0 }
95 USE faces
96
97 ShapeHints { creaseAngle 0.78 }
98 Translation { translation +6 0 0 }
99 USE faces
100
101 ShapeHints { creaseAngle 1.17 }
102 Translation { translation +6 0 0 }
103 USE faces
104
105 ShapeHints { creaseAngle 1.57 }
106 Translation { translation +6 0 0 }
107 USE faces
108
109 ShapeHints { creaseAngle 1.96 }
110 Translation { translation +6 0 0 }
111 USE faces
112
113 ShapeHints { creaseAngle 3.14 }
114 Translation { translation +6 0 0 }
115 USE faces
116 }
117 }