X3D Model Documentation: Refrigerator.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=' Refrigerator.x3d '/>
  6            <meta name='descriptioncontent='Basic refrigerator for kitchen.'/>
  7            <meta name='creatorcontent='Baris Aktop'/>
  8            <meta name='createdcontent='20 August 2002'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/Buildings/HouseBarisAktop/Refrigerator.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>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: bin1, bin2, binapp, bottom, coverbin, freezercover, freezeropen, maincover, mainopen, ref, seperator, shelf, slide1, slide2, top, topext
-->
 14       <Scene>
 15            <WorldInfo title='Refrigerator.x3d'/>
 16            <Group>
 17                 <Transform>
 18                      <Shape>
 19                           <Extrusion creaseAngle='3.14crossSection='-1 0 -1 -0.95 -0.975 -0.975 -0.95 -1 -0.05 -1 -0.025 -0.975 0 -0.95 0 0 0.1 0 0.1 -1.05 0.075 -1.075 0.05 -1.1 -1.05 -1.1 -1.075 -1.075 -1.1 -1.05 -1.1 0 -1 0solid='falsespine='0 0 0 0 2 0'/>
 20                           <Appearance>
 21 
                              <!-- Material ref is a DEF node that has 5 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5 -->
                              <Material DEF='refdiffuseColor='0.95 0.9 0.9'/>
 22                           </Appearance>
 23                      </Shape>
 24                 </Transform>
 25                 <Transform DEF='topscale='0.97 1 0.98translation='-0.5 1.95 -0.55'>
 26                      <Shape>
 27                           <Appearance>
 28                                <Material USE='ref'/>
 29                           </Appearance>
 30 
                         <!-- Extrusion topext is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                         <Extrusion DEF='topextcreaseAngle='3.14crossSection='0.55 -0.55 0.575 -0.525 0.6 -0.5 0.6 0.5 0.575 0.525 0.55 0.55 -0.55 0.55 -0.575 0.525 -0.6 0.5 -0.6 -0.5 -0.575 -0.525 -0.55 -0.55 0.6 -0.55solid='falsespine='0 0 0 0 0.1 0'/>
 31                      </Shape>
 32                 </Transform>
 33                 <Transform DEF='bottomscale='0.97 1 0.98translation='-0.5 -0.05 -0.55'>
 34                      <Shape>
 35                           <Appearance>
 36                                <Material USE='ref'/>
 37                           </Appearance>
 38                           <Extrusion USE='topext'/>
 39                      </Shape>
 40                 </Transform>
 41                 <Transform DEF='seperatorscale='0.9 1.5 0.9translation='-0.5 1.4 -0.55'>
 42                      <Shape>
 43                           <Appearance>
 44                                <Material USE='ref'/>
 45                           </Appearance>
 46                           <Extrusion USE='topext'/>
 47                      </Shape>
 48                 </Transform>
 49 
               <!-- ROUTE information for maincover node:  [from mainopen.rotation_changed to set_rotation ] -->
               <Transform DEF='maincovercenter='0.6 0 0translation='-0.5 0 0.05'>
 50                      <Shape>
 51                           <Appearance>
 52                                <Material USE='ref'/>
 53                           </Appearance>
 54                           <Extrusion creaseAngle='3.14crossSection='0.6 -0.05 0.6 0.03 0.57 0.04 0.55 0.05 -0.55 0.05 -0.57 0.04 -0.6 0.03 -0.6 -0.05 0.6 -0.05solid='falsespine='0 0 0 0 1.45 0'/>
 55                      </Shape>
 56 
                    <!-- ROUTE information for mainopen node:  [from rotation_changed to maincover.set_rotation ] -->
                    <CylinderSensor DEF='mainopenmaxAngle='2.5'/>
 57                      < ROUTE  fromNode='mainopen' fromField='rotation_changed' toNode='maincover' toField='set_rotation'/>
 58                      <Transform rotation='0 1 0 1.57translation='0.55 0 -0.05'>
 59 
                         <!-- Shape coverbin is a DEF node that has 1 USE node: USE_1 -->
                         <Shape DEF='coverbin'>
 60                                <Extrusion creaseAngle='3.14crossSection='0 0 0.15 0 0.175 -0.025 0.2 -0.05 0.2 -1.05 0.175 -1.075 0.15 -1.1 0 -1.1 0 0endCap='falsesolid='falsespine='0 0 0 0 0.2 0'/>
 61                                <Appearance>
 62                                     <Material diffuseColor='0.9 0.9 0.9'/>
 63                                </Appearance>
 64                           </Shape>
 65                           <Transform translation='0 1 0'>
 66                                <Shape USE='coverbin'/>
 67                           </Transform>
 68                      </Transform>
 69                 </Transform>
 70 
               <!-- ROUTE information for freezercover node:  [from freezeropen.rotation_changed to set_rotation ] -->
               <Transform DEF='freezercovercenter='0.6 0 0translation='-0.5 1.5 0.05'>
 71                      <Shape>
 72                           <Appearance>
 73                                <Material USE='ref'/>
 74                           </Appearance>
 75                           <Extrusion creaseAngle='3.14crossSection='0.6 -0.05 0.6 0.03 0.57 0.04 0.55 0.05 -0.55 0.05 -0.57 0.04 -0.6 0.03 -0.6 -0.05 0.6 -0.05solid='falsespine='0 0 0 0 0.5 0'/>
 76                      </Shape>
 77 
                    <!-- ROUTE information for freezeropen node:  [from rotation_changed to freezercover.set_rotation ] -->
                    <CylinderSensor DEF='freezeropenmaxAngle='2.5'/>
 78                      < ROUTE  fromNode='freezeropen' fromField='rotation_changed' toNode='freezercover' toField='set_rotation'/>
 79                 </Transform>
 80                 <Transform rotation='1 0 0 1.57translation='-0.1 0.3 -1'>
 81 
                    <!-- ROUTE information for bin1 node:  [from slide1.translation_changed to set_translation ] -->
                    <Transform DEF='bin1rotation='1 0 0 1.57scale='0.9 0.9 0.9'>
 82                           <Shape>
 83                                <Extrusion beginCap='falsecrossSection='-0.95 0 -0.975 -0.025 -1 -0.05 -1 -0.95 -0.975 -0.975 -0.95 -1 -0.55 -1 -0.525 -0.975 -0.5 -0.95 -0.5 -0.05 -0.525 -0.025 -0.55 0 -0.95 0solid='falsespine='0 0 0 0 0.05 0 0 0.1 0 0 0.3 0'/>
 84 
                              <!-- Appearance binapp is a DEF node that has 1 USE node: USE_1 -->
                              <Appearance DEF='binapp'>
 85                                     <Material diffuseColor='0.9 0.9 0.9'/>
 86                                </Appearance>
 87                           </Shape>
 88 
                         <!-- ROUTE information for slide1 node:  [from translation_changed to bin1.set_translation ] -->
                         <PlaneSensor DEF='slide1maxPosition='0 0.9minPosition='0 0.1'/>
 89                           < ROUTE  fromNode='slide1' fromField='translation_changed' toNode='bin1' toField='set_translation'/>
 90                      </Transform>
 91                 </Transform>
 92                 <Transform rotation='1 0 0 1.57translation='0.45 0.3 -1'>
 93 
                    <!-- ROUTE information for bin2 node:  [from slide2.translation_changed to set_translation ] -->
                    <Transform DEF='bin2rotation='1 0 0 1.57scale='0.9 0.9 0.9'>
 94                           <Shape>
 95                                <Extrusion beginCap='falsecrossSection='-0.95 0 -0.975 -0.025 -1 -0.05 -1 -0.95 -0.975 -0.975 -0.95 -1 -0.55 -1 -0.525 -0.975 -0.5 -0.95 -0.5 -0.05 -0.525 -0.025 -0.55 0 -0.95 0solid='falsespine='0 0 0 0 0.05 0 0 0.1 0 0 0.3 0'/>
 96                                <Appearance USE='binapp'/>
 97                           </Shape>
 98 
                         <!-- ROUTE information for slide2 node:  [from translation_changed to bin2.set_translation ] -->
                         <PlaneSensor DEF='slide2maxPosition='0 0.9minPosition='0 0.1'/>
 99                           < ROUTE  fromNode='slide2' fromField='translation_changed' toNode='bin2' toField='set_translation'/>
100                      </Transform>
101                 </Transform>
102                 <Transform scale='0.9 1 0.9translation='-0.5 0.3 -0.55'>
103 
                    <!-- Shape shelf is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                    <Shape DEF='shelf'>
104                           <Extrusion creaseAngle='3.14crossSection='0.55 -0.55 0.575 -0.525 0.6 -0.5 0.6 0.5 0.575 0.525 0.55 0.55 -0.55 0.55 -0.575 0.525 -0.6 0.5 -0.6 -0.5 -0.575 -0.525 -0.55 -0.55 0.6 -0.55solid='falsespine='0 0 0 0 0.03 0'/>
105                           <Appearance>
106                                <Material diffuseColor='0.95 0.95 0.95shininess='1transparency='0.5'/>
107                           </Appearance>
108                      </Shape>
109                      <Transform translation='0 0.35 0'>
110                           <Shape USE='shelf'/>
111                      </Transform>
112                      <Transform translation='0 0.7 0'>
113                           <Shape USE='shelf'/>
114                      </Transform>
115                 </Transform>
116            </Group>
117       </Scene>
118  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: bin1, bin2, binapp, bottom, coverbin, freezercover, freezeropen, maincover, mainopen, ref, seperator, shelf, slide1, slide2, top, topext
-->
X3D Tooltips element index: Appearance, CylinderSensor, Extrusion, Group, head, Material, meta, PlaneSensor, ROUTE, Scene, Shape, Transform, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table entries with 4 ROUTE connections total, showing X3D event-model relationships for this scene.

Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.

slide1
PlaneSensor
translation_changed
SFVec3f

ROUTE
event to
(1)
bin1
Transform
set_translation
SFVec3f

slide2
PlaneSensor
translation_changed
SFVec3f

ROUTE
event to
(1)
bin2
Transform
set_translation
SFVec3f

freezeropen
CylinderSensor
rotation_changed
SFRotation

ROUTE
event to
(1)
freezercover
Transform
set_rotation
SFRotation

mainopen
CylinderSensor
rotation_changed
SFRotation

ROUTE
event to
(1)
maincover
Transform
set_rotation
SFRotation

Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Savage/Buildings/HouseBarisAktop/RefrigeratorIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/Buildings/HouseBarisAktop/Refrigerator.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. -->