#VRML V2.0 utf8 # CAP5805 Computer Simulation # Final Project # Laurentiu Iancu # liancu@cise.ufl.edu # Petri Net Protos PROTO PetriNetPlace [ exposedField SFVec3f translation 0.0 0.0 0.0 exposedField SFColor diffuseColor 0.0 1.0 1.0 ] { Transform { translation IS translation children [ Shape { appearance Appearance { material Material { diffuseColor IS diffuseColor } } geometry Sphere { radius 1.0 } } ] } } PROTO PetriNetTransition [ exposedField SFVec3f translation 0.0 0.0 0.0 exposedField SFColor diffuseColor 0.5 1.0 0.25 ] { Transform { translation IS translation children [ Shape { appearance Appearance { material Material { diffuseColor IS diffuseColor } } geometry Box { size 1.0 3.0 2.0 } } ] } } PROTO PetriNetShaft [ exposedField SFVec3f translation 0.0 0.0 0.0 exposedField SFColor diffuseColor 1.0 1.0 0.0 ] { Transform { translation IS translation rotation 0 0 1 1.570796 children [ Shape { appearance Appearance { material Material { diffuseColor IS diffuseColor } } geometry Cylinder { radius 0.25 height 2.35 } } ] } } PROTO PetriNetCornerU [ exposedField SFVec3f translation 0.0 0.0 0.0 exposedField SFRotation rotation 0 0 1 0.0 exposedField SFColor diffuseColor 1.0 1.0 0.0 ] { Transform { translation IS translation rotation IS rotation children [ Shape { appearance Appearance { material Material { diffuseColor IS diffuseColor } } geometry Extrusion { creaseAngle 1.57 crossSection [ 0.250 0.000, 0.231 -0.096, 0.177 -0.177, 0.096 -0.231, 0.000 -0.250, -0.096 -0.231, -0.177 -0.177, -0.231 -0.096, -0.250 0.000, -0.231 0.096, -0.177 0.177, -0.096 0.231, 0.000 0.250, 0.096 0.231, 0.177 0.177, 0.231 0.096, 0.250 0.000 ] spine [ 0.000 0.000 0.900, 0.176 0.000 0.883, 0.344 0.000 0.831, 0.500 0.000 0.748, 0.636 0.000 0.636, 0.748 0.000 0.500, 0.831 0.000 0.344, 0.883 0.000 0.176, 0.900 0.000 0.000, 0.883 0.000 -0.176, 0.831 0.000 -0.344, 0.748 0.000 -0.500, 0.636 0.000 -0.636, 0.500 0.000 -0.748, 0.344 0.000 -0.831, 0.176 0.000 -0.883, 0.000 0.000 -0.900 ] } } ] } } PROTO PetriNetCornerJ [ exposedField SFVec3f translation 0.0 0.0 0.0 exposedField SFRotation rotation 0 0 1 0.0 exposedField SFColor diffuseColor 1.0 1.0 0.0 ] { Transform { translation IS translation rotation IS rotation children [ Shape { appearance DEF PetriNetCornerJAppearance Appearance { material Material { diffuseColor IS diffuseColor } } geometry Extrusion { creaseAngle 1.57 crossSection [ 0.250 0.000, 0.231 -0.096, 0.177 -0.177, 0.096 -0.231, 0.000 -0.250, -0.096 -0.231, -0.177 -0.177, -0.231 -0.096, -0.250 0.000, -0.231 0.096, -0.177 0.177, -0.096 0.231, 0.000 0.250, 0.096 0.231, 0.177 0.177, 0.231 0.096, 0.250 0.000 ] spine [ 0.000 0.000 0.900, 0.176 0.000 0.883, 0.344 0.000 0.831, 0.500 0.000 0.748, 0.636 0.000 0.636, 0.748 0.000 0.500, 0.831 0.000 0.344, 0.883 0.000 0.176, 0.900 0.000 0.000, 0.883 0.000 -0.176, 0.831 0.000 -0.344, 0.748 0.000 -0.500, 0.636 0.000 -0.636, 0.500 0.000 -0.748, 0.344 0.000 -0.831, 0.176 0.000 -0.883, 0.000 0.000 -0.900 ] } }, Transform { translation -0.475 0.0 -0.9 rotation 0 0 1 1.570796 children Shape { appearance USE PetriNetCornerJAppearance geometry Cylinder { radius 0.25 height 1.05 } } }, Transform { translation -0.475 0.0 0.9 rotation 0 0 1 1.570796 children Shape { appearance USE PetriNetCornerJAppearance geometry Cylinder { radius 0.25 height 1.05 } } }, PetriNetShaft { translation -2.175 0.0 0.9 diffuseColor IS diffuseColor } ] } }