X3D Model Documentation: CockpitTop.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2 
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
  3  <X3D profile='Immersive' version='3.0 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'>
  4       <head>
  5            <meta name='titlecontent='CockpitTop.x3d'/>
  6            <meta name='descriptioncontent='This file defines a cockpit top that is inlined to create the cockpit of a helicopter'/>
  7            <meta name='creatorcontent='Jane Wu (adapted from the original cockpittop.wrl created for vrtp demo helicopter)'/>
  8            <meta name='createdcontent='9 January 2001'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent='https://savage.nps.edu/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/CockpitTop.x3d'/>
 11            <meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

<!-- -->
<!-- to top Index for DEF nodes: ANTENNA_BASE, ANTENNA_BASE_TRANSFORM, ANTENNA_TIP, ANTENNA_TIP_TRANSFORM, DOOR_BAR, GREEN
-->
 14       <Scene>
 15            <WorldInfo title='CockpitTop.x3d'/>
 16            <Transform rotation='1 0 0 3.1415translation='0 .6 1.3'>
 17                 <Shape>
 18 
                    <!-- Appearance GREEN is a DEF node that has 6 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6 -->
                    <Appearance DEF='GREEN'>
 19                           <Material diffuseColor='0.0 0.2 0.05'/>
 20                      </Appearance>
 21                      <Extrusion beginCap='falseconvex='falsecreaseAngle='1.3crossSection='-0.675 .05 -0.575 0 0.575 0 0.675 .05endCap='falsesolid='falsespine='0.0 0.0 0.0 0.0 0.6 0.0'/>
 22                 </Shape>
 23            </Transform>
 24            <Transform>
 25                 <Transform center='0 0 0.45rotation='1.0 0.0 0.0 0.8translation='0.0 0.629 0.81'>
 26                      <Shape DEF='DOOR_BAR'>
 27                           <Appearance USE='GREEN'/>
 28                           <Box size='0.05 0.02 1'/>
 29                      </Shape>
 30                      <Transform rotation='0 0 1 -0.456'>
 31                           <Transform rotation='1 0 0 -0.256translation='0.59 0.13 -0.004'>
 32                                <Shape>
 33                                     <Appearance USE='GREEN'/>
 34                                     <Box size='0.04 0.02 1'/>
 35                                </Shape>
 36                           </Transform>
 37                      </Transform>
 38                      <Transform rotation='0 0 1 0.456'>
 39                           <Transform rotation='1 0 0 -0.256translation='-.59 0.13 -0.004'>
 40                                <Shape>
 41                                     <Appearance USE='GREEN'/>
 42                                     <Box size='0.04 0.02 1'/>
 43                                </Shape>
 44                           </Transform>
 45                      </Transform>
 46                 </Transform>
 47                 <Transform rotation='1.0 0.0 0.0 1.57translation='0.0 0.4 1.3'>
 48                      <Transform rotation='0.0 1.0 0.0 1.57'>
 49                           <Shape>
 50                                <Appearance USE='GREEN'/>
 51                                <!-- right side, left side, back, front -->
 52                                <IndexedFaceSet convex='falsecoordIndex='0 1 2 3 4 -1 5 9 8 7 6 -1 0 4 9 5 -1 4 3 8 9 -1 1 6 7 2 -1 7 8 3 2 -1'>
 53                                     <Coordinate point='0.0 0.0 0.0 0.15 0.0 0.0 0.1 0.1 0.0 0.5 0.4 0.0 0.0 0.1 0.0 0.0 0.0 -0.03 0.15 0.0 -0.03 0.1 0.1 -0.03 0.5 0.4 -0.03 0.0 0.1 -0.03'/>
 54                                </IndexedFaceSet>
 55                           </Shape>
 56                      </Transform>
 57                 </Transform>
 58                 <Transform rotation='1.0 0.0 0.0 1.57translation='0.15 0.5 1.3'>
 59 
                    <!-- Transform ANTENNA_BASE_TRANSFORM is a DEF node that has 1 USE node: USE_1 -->
                    <Transform DEF='ANTENNA_BASE_TRANSFORMrotation='0.0 1.0 0.0 1.57'>
 60                           <Shape DEF='ANTENNA_BASE'>
 61                                <Appearance USE='GREEN'/>
 62                                <!-- right side, left side, back, front -->
 63                                <IndexedFaceSet convex='falsecoordIndex='0 1 2 3 -1 4 7 6 5 -1 0 3 7 4 -1 1 5 6 2 -1'>
 64                                     <Coordinate point='0.0 0.0 0.0 0.1 0.0 0.0 0.075 0.5 0.0 0.025 0.5 0.0 0.0 0.0 -0.04 0.1 0.0 -0.04 0.075 0.5 -0.04 0.025 0.5 -0.04'/>
 65                                </IndexedFaceSet>
 66                           </Shape>
 67                      </Transform>
 68 
                    <!-- Transform ANTENNA_TIP_TRANSFORM is a DEF node that has 1 USE node: USE_1 -->
                    <Transform DEF='ANTENNA_TIP_TRANSFORMrotation='1.0 0.0 0.0 1.57translation='-0.020 0.47 0.1'>
 69                           <Shape DEF='ANTENNA_TIP'>
 70                                <Appearance USE='GREEN'/>
 71                                <Cone bottomRadius='0.015height='0.3'/>
 72                           </Shape>
 73                      </Transform>
 74                 </Transform>
 75                 <Transform rotation='1.0 0.0 0.0 1.57translation='-0.15 0.5 1.3'>
 76                      <Transform USE='ANTENNA_BASE_TRANSFORM'/>
 77                      <Transform USE='ANTENNA_TIP_TRANSFORM'/>
 78                 </Transform>
 79            </Transform>
 80       </Scene>
 81  </X3D>
<!--

<!-- -->
<!-- to top Index for DEF nodes: ANTENNA_BASE, ANTENNA_BASE_TRANSFORM, ANTENNA_TIP, ANTENNA_TIP_TRANSFORM, DOOR_BAR, GREEN
-->
X3D Tooltips element index: Appearance, Box, Cone, Coordinate, Extrusion, head, IndexedFaceSet, Material, meta, Scene, Shape, Transform, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

-->
<!-- Online at
https://savage.nps.edu/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/CockpitTopIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/CockpitTop.x3d -->

<!-- Color-coding legend: X3D terminology <X3dNode  DEF='idNamefield='value'/> matches XML terminology <XmlElement  DEF='idNameattribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
-->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->