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://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/HelicopterUnitedStates/CockpitTop.x3d '/>
 11            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

<!-- -->
<!-- to top DEF nodes index: ANTENNA_BASE, ANTENNA_BASE_TRANSFORM, ANTENNA_TIP, ANTENNA_TIP_TRANSFORM, DARK_GREEN, DOOR_BAR, GREEN
-->
 14       <Scene>
 15            <WorldInfo title='CockpitTop.x3d'/>
 16            <Transform>
 17                 <Shape>
 18 
                    <!-- Appearance GREEN is a DEF node that has 4 USE nodes: USE_1, USE_2, USE_3, USE_4 -->
                    <Appearance DEF='GREEN'>
 19                           <Material diffuseColor='0.0 0.4 0.2'/>
 20                      </Appearance>
 21                      <Extrusion beginCap='falseconvex='falsecreaseAngle='1.5crossSection='-0.700 1.2 -0.625 1.3 0.625 1.3 0.700 1.2endCap='falsesolid='falsespine='0.0 0.0 0.0 0.0 0.6 0.0'/>
 22                 </Shape>
 23                 <Transform rotation='1.0 0.0 0.0 1.57translation='0.0 0.600 1.3'>
 24                      <Shape>
 25                           <Appearance USE='GREEN'/>
 26                           <IndexedFaceSet convex='falsecoordIndex='0 1 2 3 -1 3 2 1 0 -1 1 4 5 2 -1 2 5 4 1 -1'>
 27                                <Coordinate point='0.0 0.0 0.0 0.0 -0.2 -0.5 -0.05 -0.2 -0.5 -0.05 0.0 0.0 0.0 -0.5 -0.7 -0.05 -0.5 -0.7'/>
 28                           </IndexedFaceSet>
 29                      </Shape>
 30                 </Transform>
 31                 <Transform center='0.0 0.0 0.45rotation='1.0 0.0 0.0 0.8translation='-0.67 0.560 0.80'>
 32 
                    <!-- Shape DOOR_BAR is a DEF node that has 1 USE node: USE_1 -->
                    <Shape DEF='DOOR_BAR'>
 33                           <Appearance USE='GREEN'/>
 34                           <Box size='0.05 0.02 0.9'/>
 35                      </Shape>
 36                 </Transform>
 37                 <Transform center='0.0 0.0 0.45rotation='1.0 0.0 0.0 0.8translation='0.67 0.560 0.80'>
 38                      <Shape USE='DOOR_BAR'/>
 39                 </Transform>
 40                 <Transform rotation='1.0 0.0 0.0 1.57translation='0.0 0.4 1.3'>
 41                      <Transform rotation='0.0 1.0 0.0 1.57'>
 42                           <Shape>
 43                                <Appearance DEF='DARK_GREEN'>
 44                                     <Material diffuseColor='0.0 0.4 0.3'/>
 45                                </Appearance>
 46                                <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'>
 47                                     <!-- right side, left side, back, front -->
 48                                     <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'/>
 49                                </IndexedFaceSet>
 50                           </Shape>
 51                      </Transform>
 52                 </Transform>
 53                 <Transform rotation='1.0 0.0 0.0 1.57translation='0.15 0.5 1.3'>
 54 
                    <!-- 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'>
 55                           <Shape DEF='ANTENNA_BASE'>
 56                                <Appearance USE='GREEN'/>
 57                                <IndexedFaceSet convex='falsecoordIndex='0 1 2 3 -1 4 7 6 5 -1 0 3 7 4 -1 1 5 6 2 -1'>
 58                                     <!-- right side, left side, back, front -->
 59                                     <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'/>
 60                                </IndexedFaceSet>
 61                           </Shape>
 62                      </Transform>
 63 
                    <!-- 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'>
 64                           <Shape DEF='ANTENNA_TIP'>
 65                                <Appearance USE='GREEN'/>
 66                                <Cone bottomRadius='0.015height='0.3'/>
 67                           </Shape>
 68                      </Transform>
 69                 </Transform>
 70                 <Transform rotation='1.0 0.0 0.0 1.57translation='-0.15 0.5 1.3'>
 71                      <Transform USE='ANTENNA_BASE_TRANSFORM'/>
 72                      <Transform USE='ANTENNA_TIP_TRANSFORM'/>
 73                 </Transform>
 74            </Transform>
 75       </Scene>
 76  </X3D>
<!--

<!-- -->
<!-- to top DEF nodes index: ANTENNA_BASE, ANTENNA_BASE_TRANSFORM, ANTENNA_TIP, ANTENNA_TIP_TRANSFORM, DARK_GREEN, 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://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/HelicopterUnitedStates/CockpitTopIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/HelicopterUnitedStates/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. -->