|
|
| File: [Development] / inventor / apps / examples / Mentor / 01.1.Windmill.iv (download)
Revision 1.1.1.1 (vendor branch), Tue Aug 15 12:55:55 2000 UTC (17 years, 2 months ago) by naaman
Initial check-in based on 2.1.5 (SGI IRIX) source tree. |
#Inventor V2.0 ascii
Separator {
Separator { # windmill blades
RotationXYZ {
axis Z
angle 0 =
ElapsedTime {
speed 0.4
}
. timeOut
}
Transform {
translation 0 0 0.5
}
Separator {
Material {
diffuseColor 0.05 0.05 0.05
}
Transform {
rotation 1 0 0 1.5708
scaleFactor 0.2 0.5 0.2
}
Cylinder {
}
}
DEF Blade Separator {
Transform {
translation 0.45 2.9 0.2
rotation 0 1 0 0.3
}
Separator {
Transform {
scaleFactor 0.6 2.5 0.02
}
Material {
diffuseColor 0.5 0.3 0.1
transparency 0.3
}
Cube {
}
}
Separator {
Material {
diffuseColor 0.2 0.06 0.02
}
Complexity {
value 0
}
Separator {
Transform {
translation -0.6 -2.7 0
scaleFactor 2 0.2 2
}
DEF FrameRod Cylinder {
radius 0.05
}
}
Separator {
Transform {
translation -0.6 0 0
scaleFactor 1 2.65 1
}
Array {
numElements1 4
separation1 0.42 0 0
USE FrameRod
}
}
Separator {
Transform {
translation 0 -2.5 0
rotation 0 0 1 1.5708
scaleFactor 1 0.6 1
}
Array {
numElements1 8
separation1 0.725 0 0
USE FrameRod
}
}
}
}
Separator {
RotationXYZ {
axis Z
angle 1.5708
}
USE Blade
}
Separator {
RotationXYZ {
axis Z
angle 3.14159
}
USE Blade
}
Separator {
RotationXYZ {
axis Z
angle -1.5708
}
USE Blade
}
}
Separator { # windmill tower
Transform {
translation 0 0 -0.5
scaleFactor 0.7 1.2 0.8
}
Material {
diffuseColor 0.4 0 0.03
}
Separator {
RotationXYZ {
axis X
angle 1.5708
}
Cylinder {
radius 1.5
}
}
Separator {
Transform {
translation 0 -3 0
scaleFactor 1 3 1
}
Coordinate3 {
point [-1.5 1 1,
-3 -1 1,
3 -1 1,
1.5 1 1,
-1.5 1 -1,
-3 -1 -1,
3 -1 -1,
1.5 1 -1 ]
}
IndexedFaceSet {
coordIndex [ 0, 1, 2, 3, -1, 7, 6, 5,
4, -1, 1, 0, 4, 5, -1, 3,
2, 6, 7, -1, 1, 5, 6, 2,
-1 ]
}
}
Separator {
Transform {
translation 0 -6 0
scaleFactor 3.2 0.5 1.3
}
Cube {
}
}
}
}