X3D Model Documentation: RoadWheel.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=' RoadWheel.x3d '/>
  6            <meta name='descriptioncontent='two bolted together road wheels for M2A3 Bradley'/>
  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='roadwheels M2A3 track assembly'/>
 11            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/GroundVehicles/M2A3/RoadWheel.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, WHEEL, WHEEL_CTR
-->
 15       <Scene>
 16            <WorldInfo title='RoadWheel.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                      <Shape>
 20                           <Cylinder DEF='WHEEL_CTRheight='.3'/>
 21                           <Appearance>
 22 
                              <!-- Material SAND is a DEF node that has 1 USE node: USE_1 -->
                              <Material DEF='SANDdiffuseColor='.6 .6 .4'/>
 23                           </Appearance>
 24                      </Shape>
 25                      <Shape>
 26                           <Extrusion beginCap='falsecreaseAngle='3.14crossSection='1.00 0.00 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.00 -1.00 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.00 -0.00 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.00 1.00 0.38 0.92 0.71 0.71 0.92 0.38 1.00 0.00endCap='falsescale='1 1 1 1solid='falsespine='0 .3 0 0 .1 0'/>
 27                           <Appearance>
 28                                <Material diffuseColor='.4 .4 .2'/>
 29                           </Appearance>
 30                      </Shape>
 31                      <Transform translation='0 .2 0'>
 32                           <Shape>
 33                                <Sphere radius='.21'/>
 34                                <Appearance>
 35                                     <Material USE='SAND'/>
 36                                </Appearance>
 37                           </Shape>
 38                      </Transform>
 39                      <Shape>
 40                           <Extrusion beginCap='falsecrossSection='1.00 0.00 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.00 -1.00 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.00 -0.00 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.00 1.00 0.38 0.92 0.71 0.71 0.92 0.38 1.00 0.00endCap='falsescale='1 1 .8 .8solid='falsespine='0 .3 0 0 .3 0'/>
 41                           <Appearance>
 42                                <Material diffuseColor='.4 .4 .2'/>
 43                           </Appearance>
 44                      </Shape>
 45                      <Transform translation='0 .15 .3'>
 46 
                         <!-- Group FOUR_NUTS is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                         <Group DEF='FOUR_NUTS'>
 47 
                              <!-- Shape LUG_NUT is a DEF node that has 4 USE nodes: USE_1, USE_2, USE_3, USE_4 -->
                              <Shape DEF='LUG_NUT'>
 48                                     <Box size='.05 .05 .05'/>
 49                                     <Appearance>
 50                                          <Material diffuseColor='.05 .05 0'/>
 51                                     </Appearance>
 52                                </Shape>
 53                                <Transform translation='-.3 0 -.3'>
 54                                     <Shape USE='LUG_NUT'/>
 55                                     <Transform translation='0.3 0 -.3'>
 56                                          <Shape USE='LUG_NUT'/>
 57                                          <Transform translation='.3 0 .3'>
 58                                               <Shape USE='LUG_NUT'/>
 59                                               <Transform translation='-.3 0 .3'>
 60                                                    <Shape USE='LUG_NUT'/>
 61                                               </Transform>
 62                                          </Transform>
 63                                     </Transform>
 64                                </Transform>
 65                           </Group>
 66                      </Transform>
 67                      <Transform center='0 0 -.3rotation='0 1 0 .5translation='0 .15 .3'>
 68                           <Group USE='FOUR_NUTS'/>
 69                      </Transform>
 70                      <Transform center='0 0 -.3rotation='0 1 0 1translation='0 .15 .3'>
 71                           <Group USE='FOUR_NUTS'/>
 72                      </Transform>
 73                      <Shape>
 74                           <Extrusion beginCap='falsecrossSection='1.00 0.00 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.00 -1.00 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.00 -0.00 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.00 1.00 0.38 0.92 0.71 0.71 0.92 0.38 1.00 0.00endCap='falsescale='1 1 1.1 1.1solid='falsespine='0 .3 0 0 .3 0'/>
 75                           <Appearance>
 76                                <Material diffuseColor='.1 .1 .1'/>
 77                           </Appearance>
 78                      </Shape>
 79                      <Shape>
 80                           <Extrusion beginCap='falsecreaseAngle='3.14crossSection='1.00 0.00 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.00 -1.00 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.00 -0.00 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.00 1.00 0.38 0.92 0.71 0.71 0.92 0.38 1.00 0.00endCap='falsescale='1.1 1.1 1.1 1.1solid='falsespine='0 .3 0 0 -.15 0'/>
 81                           <Appearance>
 82                                <Material diffuseColor='0.1 0.1 0.1'/>
 83                           </Appearance>
 84                      </Shape>
 85                      <Shape>
 86                           <Extrusion beginCap='falsecrossSection='1.00 0.00 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.00 -1.00 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.00 -0.00 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.00 1.00 0.38 0.92 0.71 0.71 0.92 0.38 1.00 0.00endCap='falsescale='1 1 1.1 1.1solid='falsespine='0 -.15 0 0 -.15 0'/>
 87                           <Appearance>
 88                                <Material diffuseColor='.1 .1 .1'/>
 89                           </Appearance>
 90                      </Shape>
 91                 </Transform>
 92            </Group>
 93            <Transform rotation='1 0 0 3.14translation='0 0 -.5'>
 94                 <Group USE='ROAD_WHEEL'/>
 95            </Transform>
 96            <Transform rotation='1 0 0 1.57translation='0 0 -.25'>
 97                 <Shape>
 98                      <Cylinder height='.6radius='.85'/>
 99                      <Appearance>
100                           <Material diffuseColor='.2 .2 .1'/>
101                      </Appearance>
102                 </Shape>
103            </Transform>
104       </Scene>
105  </X3D>
<!--

<!-- -->
<!-- to top DEF nodes index: FOUR_NUTS, LUG_NUT, ROAD_WHEEL, SAND, WHEEL, WHEEL_CTR
-->
X3D Tooltips element index: Appearance, Box, Cylinder, Extrusion, 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/RoadWheelIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/GroundVehicles/M2A3/RoadWheel.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. -->