X3D Model Documentation: FrontDriveSprocket.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=' FrontDriveSprocket.x3d '/>
  6            <meta name='descriptioncontent='drive sprocket at the front of each track assembly'/>
  7            <meta name='creatorcontent="LTC Rene' Burgess"/>
  8            <meta name='createdcontent='22 March 2003'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='subjectcontent='drive sprocket M2A3 track assembly'/>
 11            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/GroundVehicles/M2A3/FrontDriveSprocket.x3d '/>
 12            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 13            <meta name='licensecontent='../../license.html'/>
 14       </head>
<!--

<!-- -->
<!-- to top DEF nodes index: FOUR_NUTS, LUG_NUT, ROAD_WHEEL, SAND, SPOKE, SPOKE_GROUP, SURFACE, WHEEL
-->
 15       <Scene>
 16            <WorldInfo title='FrontDriveSprocket.x3d'/>
 17 
          <!-- Group ROAD_WHEEL is a DEF node that has 1 USE node: USE_1 -->
          <Group DEF='ROAD_WHEEL'>
 18                 <Transform DEF='WHEELrotation='1 0 0 1.57'>
 19                      <Transform scale='1 .5 1translation='0 .1 0'>
 20                           <Shape>
 21                                <Sphere radius='.21'/>
 22                                <Appearance>
 23                                     <Material DEF='SANDdiffuseColor='.4 .4 .2'/>
 24                                </Appearance>
 25                           </Shape>
 26                      </Transform>
 27                      <Transform translation='0 .1 .3'>
 28 
                         <!-- Group FOUR_NUTS is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                         <Group DEF='FOUR_NUTS'>
 29 
                              <!-- Shape LUG_NUT is a DEF node that has 4 USE nodes: USE_1, USE_2, USE_3, USE_4 -->
                              <Shape DEF='LUG_NUT'>
 30                                     <Box size='.05 .05 .05'/>
 31                                     <Appearance>
 32                                          <Material diffuseColor='.05 .05 0'/>
 33                                     </Appearance>
 34                                </Shape>
 35                                <Transform translation='-.3 0 -.3'>
 36                                     <Shape USE='LUG_NUT'/>
 37                                     <Transform translation='0.3 0 -.3'>
 38                                          <Shape USE='LUG_NUT'/>
 39                                          <Transform translation='.3 0 .3'>
 40                                               <Shape USE='LUG_NUT'/>
 41                                               <Transform translation='-.3 0 .3'>
 42                                                    <Shape USE='LUG_NUT'/>
 43                                               </Transform>
 44                                          </Transform>
 45                                     </Transform>
 46                                </Transform>
 47                           </Group>
 48                      </Transform>
 49                      <Transform center='0 0 -.3rotation='0 1 0 .5translation='0 .1 .3'>
 50                           <Group USE='FOUR_NUTS'/>
 51                      </Transform>
 52                      <Transform center='0 0 -.3rotation='0 1 0 1translation='0 .10 .3'>
 53                           <Group USE='FOUR_NUTS'/>
 54                      </Transform>
 55                      <Transform>
 56 
                         <!-- Group SPOKE_GROUP is a DEF node that has 5 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5 -->
                         <Group DEF='SPOKE_GROUP'>
 57                                <Transform DEF='SPOKErotation='0 0 1 .38scale='.9 .2 .4translation='.6 .15 0'>
 58                                     <Shape>
 59                                          <Sphere radius='.5'/>
 60                                          <Appearance>
 61                                               <Material diffuseColor='.3 .3 .1'/>
 62                                          </Appearance>
 63                                     </Shape>
 64                                </Transform>
 65 
                              <!-- Group SURFACE is a DEF node that has 1 USE node: USE_1 -->
                              <Group DEF='SURFACE'>
 66                                     <Transform scale='.35 .3 .8translation='.95 .2 0'>
 67                                          <Shape>
 68                                               <Sphere radius='.5'/>
 69                                               <Appearance>
 70                                                    <Material diffuseColor='.3 .3 .1'/>
 71                                               </Appearance>
 72                                          </Shape>
 73                                     </Transform>
 74                                     <Transform rotation='0 1 0 .785translation='1.025 .2 0'>
 75                                          <Shape>
 76                                               <Box size='.3 .18 .3'/>
 77                                               <Appearance>
 78                                                    <Material diffuseColor='.3 .3 .1'/>
 79                                               </Appearance>
 80                                          </Shape>
 81                                     </Transform>
 82                                </Group>
 83                                <Transform rotation='0 1 0 .53'>
 84                                     <Group USE='SURFACE'/>
 85                                </Transform>
 86                           </Group>
 87                           <Transform rotation='0 1 0 1.05'>
 88                                <Group USE='SPOKE_GROUP'/>
 89                                <Transform rotation='0 1 0 1.05'>
 90                                     <Group USE='SPOKE_GROUP'/>
 91                                     <Transform rotation='0 1 0 1.05'>
 92                                          <Group USE='SPOKE_GROUP'/>
 93                                          <Transform rotation='0 1 0 1.05'>
 94                                               <Group USE='SPOKE_GROUP'/>
 95                                               <Transform rotation='0 1 0 1.05'>
 96                                                    <Group USE='SPOKE_GROUP'/>
 97                                               </Transform>
 98                                          </Transform>
 99                                     </Transform>
100                                </Transform>
101                           </Transform>
102                      </Transform>
103                 </Transform>
104            </Group>
105            <Transform rotation='1 0 0 3.14translation='0 0 -.5'>
106                 <Group USE='ROAD_WHEEL'/>
107            </Transform>
108            <Transform rotation='1 0 0 1.57translation='0 0 -.25'>
109                 <Shape>
110                      <Cylinder height='.7radius='.35'/>
111                      <Appearance>
112                           <Material diffuseColor='.2 .2 .1'/>
113                      </Appearance>
114                 </Shape>
115            </Transform>
116       </Scene>
117  </X3D>
<!--

<!-- -->
<!-- to top DEF nodes index: FOUR_NUTS, LUG_NUT, ROAD_WHEEL, SAND, SPOKE, SPOKE_GROUP, SURFACE, WHEEL
-->
X3D Tooltips element index: Appearance, Box, Cylinder, Group, head, Material, meta, Scene, Shape, Sphere, 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/GroundVehicles/M2A3/FrontDriveSprocketIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/GroundVehicles/M2A3/FrontDriveSprocket.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. -->