#VRML V2.0 utf8 # Tonerwechsel HP LaserJet 5L # Gregor Drum Start am 11.12.1997 # Alexander Grein WorldInfo { title "hp LaserJet" } DEF Kamera Viewpoint { fieldOfView 0.5 position -40 50 70 orientation 1 1 0 -0.78} Background { skyColor 0.7 0.7 0.7 } # --- Der Tisch --------------------------------------------------------- Shape { appearance Appearance { material Material { diffuseColor 0.1 0.37 0.37 } } geometry Box { size 100 0.5 70 } } # --- Der Drucker --------------------------------------------------------- Transform { translation -15 0.5 -10 children [ DEF Drucker Transform { children [ Shape { appearance Appearance { material DEF DruckerMaterial Material { diffuseColor .9 .9 .7 transparency 0 } } geometry IndexedFaceSet { coord Coordinate { point [ #Grundbox #Eckpunkte 0 11.4 31.2 #0 33.6 11.4 31.2 #1 33.6 11.4 0 #2 0 11.4 0 #3 #Grundbox # Bodenplatte 0 0 31.2 #4 33.6 0 31.2 #5 33.6 0 0 #6 0 0 0 #7 #Papierschacht #Deckel 0 22.8 15.6 #0 8 33.6 22.8 15.6 #1 9 33.6 22.8 4 #2 10 0 22.8 4 #3 11 #Papierschacht #Boden (Eckpunkte) 0 11.4 15.6 #0 12 33.6 11.4 15.6 #1 13 33.6 11.4 4 #2 14 0 11.4 4 #3 15 #Papierauswurf #Deckel 0 18.8 15.6 #0 16 33.6 18.8 15.6 #1 17 33.6 18.8 24.2 #2 18 0 18.8 24.2 #3 19 #Papierauswurf #Boden (Eckpunkte) 0 11.4 15.6 #3 20 33.6 11.4 15.6 #2 21 33.6 11.4 24.2 #1 22 0 11.4 24.2 #0 23 #Front 6 7.5 31.2 #1 24 6 0 31.2 #5 25 29.6 7.5 31.2 #1 26 29.6 0 31.2 #5 27 6 2.2 31.2 #0 28 Gelenk f’r Klappe links 29.6 2.2 31.2 #1 29 Gelenk f’r Klappe rechts 0 7.5 31.2 #0 30 33.6 7.5 31.2 #1 31 Ecke rechts Schr„ge 6 9.171428571 28.2 #1 32 Ecke linke Schr„ge nach 3 cm 3.5 9.171428571 28.2 #1 33 Ecke linke Schr„ge nach 3 cm 3.5 11.4 24.2 #1 34 Ecke linke Schr„ge nach 3 cm 3.5 7.5 31.2 #1 35 Ecke linke Schr„ge nach 3 cm 29.6 9.171428571 28.2 #1 36 Ecke rechte Schr„ge nach 3 cm 31.6 9.171428571 28.2 #1 37 Ecke rechte Schr„ge nach 3 cm 31.6 11.4 24.2 #1 38 Ecke rechte Schr„ge nach 3 cm 29.6 7.5 31.2 #1 39 Ecke rechte Schr„ge nach 3 cm 31.6 7.5 31.2 #1 40 Ecke rechte Schr„ge nach 3 cm 3.5 18.8 24.2 #2 41 #Papierauswurf Knoten vorne links 31.6 18.8 24.2 #3 42 #Papierauswurf Knoten vorne rechts 3.5 15.8 24.2 #2 43 #Papierauswurf Knoten vorne links 31.6 15.8 24.2 #3 44 #Papierauswurf Knoten vorne rechts ] } coordIndex [ 15, 14, 2, 3, -1, #Decke hinter Papierschacht 15, 3, 2, 14, -1, #Decke hinter Papierschacht 7, 6, 5, 4, -1, #Boden 7, 4, 5, 6, -1, #Boden 30, 4, 25, 24, -1, #Wand vorne (U-f÷rmig) links 25, 27, 29, 28, -1, #Wand vorne (U-f÷rmig) mitte 5, 31, 26, 27, -1, #Wand vorne (U-f÷rmig) rechts 22, 31, 5, 6, 2, -1, #Wand rechts 22, 2, 6, 5, 31, -1, #Wand rechts 2, 6, 7, 3, -1, #Wand hinten 2, 3, 7, 6, -1, #Wand hinten 3, 7, 4, 30, 23, -1, #Wand links 3, 23, 30, 4, 7, -1, #Wand links 8, 9, 10, 11, -1, #Wand oben Papierschacht 8, 11, 10, 9, -1, #Wand oben Papierschacht 11, 15, 12, 8, -1, #Wand links Papierschacht 11, 8, 12, 15, -1, #Wand links Papierschacht 9, 13, 14, 10, -1, #Wand rechts Papierschacht 9, 10, 14, 13, -1, #Wand rechts Papierschacht 10, 14, 15, 11, -1, #Wand hinten Papierschacht 10, 11, 15, 14, -1, #Wand hinten Papierschacht 9, 8, 16, 17, -1, #Wand vorne Papierschacht 19, 18, 17, 16, -1, #Decke Papierauswurf 19, 16, 17, 18, -1, #Decke Papierauswurf 18, 22, 13, 17, -1, #Wand rechts Papierauswurf 18, 17, 13, 22, -1, #Wand rechts Papierauswurf 12, 23, 19, 16, -1, #Wand links Papierauswurf 12, 16, 19, 23, -1, #Wand links Papierauswurf 30, 35, 34, 23, -1, #Schr„g links 1 35, 24, 32, 33, -1, #Schr„g links 2 39, 40, 37, 36, -1, #Schr„g rechts 1 40, 31, 22, 38, -1, #Schr„g rechts 2 23, 34, 41, 19, -1, #Papierauswurf vorne links 42, 38, 22, 18, -1, #Papierauswurf vorne rechts 43, 44, 42, 41, -1, #Papierauswurf vorne Mitte ] } } #Shape (Drucker) Shape { #Shape Innen Drucker appearance Appearance { material Material { diffuseColor 0.0 0.0 1.0} } geometry IndexedFaceSet { coord Coordinate { point [ #Grundbox #Eckpunkte 6 3.8 28.2 #0 Front r v u 31.6 3.8 28.2 #1 l v u 31.6 9 28.2 #2 r v o 6 9 28.2 #3 l v o 3.5 9 28.2 #4 Seite l v m 31.6 9 28.2 #5 r v m 3.5 11.4 24.2 #6 l m m 31.6 11.4 24.2 #7 r m m 3.5 15.8 24.2 #8 l m o 31.6 15.8 24.2 #9 r m o 3.5 15.8 11.2 #10 l h o 31.6 15.8 11.2 #11 r h o 3.5 11.4 11.2 #12 l h m 31.6 11.4 11.2 #13 sw r h u 31.6 15.8 11.2 #14 sw r h o 3.5 4 11.2 #15 sw l h u 31.6 4 11.2 #16 sw r h u ] } coordIndex [ 3, 0, 1, 2, -1 #Front innen vorne 4, 15, 12, 6, -1 #Wand innen links 6, 12, 8, -1 5, 7, 13, 16, -1 #Wand innen rechts 7, 9, 13, -1 13, 12, 15, 16, -1 #Front innen hinten 15, 4, 2, 16, -1 #Fl„che Schr„g ] } } #Shape Innen Drucker #- F’hrung f’r Tonerkartusche------------------------------ Transform { # F’hrungs Nippel rotation 1 0 0 -0.2 translation 31.3 5.8 18 children [ DEF Nut Shape { #Shape Innen Drucker appearance Appearance { material Material { diffuseColor 0.0 0.0 0.6} } geometry IndexedFaceSet { coord Coordinate { point [ #Grundbox #Eckpunkte 0 4 7 #0 Spitze ov 0 3 1.0 #1 Knick oh 0 1 0 #2 Spitze mh 0 0 1.5 #3 boden uh 0 0 2 #4 boden uv 0 1 3 #5 Knick mv 0 2.1 9.5 #6 Spitze uv 0 2.2 8 #7 Knick muv 0 1.5 2.5 #8 Knick mum 0 0.5 1.8 #9 Knick uh 0 1.2 0.5 #10 Knick mh 0 2.5 1.5 #11 Knick omm 0 3.3 6 #12 Knick omv 0.5 4 7 #13 Spitze ov 0.5 3 1.0 #14 Knick oh 0.5 1 0 #15 Spitze mh 0.5 0 1.5 #16 boden uh 0.5 0 2 #17 boden uv 0.5 1 3 #18 Knick mv 0.5 2.1 9.5 #19 Spitze uv 0.5 2.2 8 #20 Knick muv 0.5 1.5 2.5 #21 Knick mum 0.5 0.5 1.8 #22 Knick uh 0.5 1.2 0.5 #23 Knick mh 0.5 2.5 1.5 #24 Knick omm 0.5 3.3 6 #25 Knick omv ] } coordIndex [ #links 0, 1, 11, 12, -1, 2, 10, 11, 1, -1, 2, 3, 9, 10, -1, 3, 4, 9, -1, 4, 5, 8, 9, -1, 5, 6, 7, 8, -1, #rechts 13, 25, 24, 14, -1, 15, 14, 24, 23, -1, 15, 23, 22, 16, -1, 16, 22, 17, -1, 17, 22, 21, 18, -1, 18, 21, 20, 19, -1, #Flaeche aužen herum 1, 0, 13, 14, -1, 2, 1, 14, 15, -1, 2, 15, 16, 3, -1, 3, 16, 17, 4, -1, 4, 17, 18, 5, -1, 5, 18, 19, 6, -1, #Flaeche innen herum 12, 25, 13, 0, -1, 11, 24, 25, 12, -1, 10, 23, 24, 11, -1, 9, 22, 23, 10, -1, 9, 8, 21, 22, -1, 8, 7, 20, 21, -1, 7, 6, 19, 20, -1, ] } } #Shape Innen Drucker ] } Transform { # F’hrungs Nippel rotation 1 0 0 -0.2 translation 3.2 5.8 18 children USE Nut } #- Ende F’hrung f’r Tonerkartusche------------------------------ # --- Die Drucker Animation --------------------------------------------------------- # Animation path DEF Durchsichtigkeit ScalarInterpolator { key [ 0.0, 0.1, 0.9 1.0 ] keyValue [ 0.0 0.5 0.5 0.0 ] } # --- Ende Drucker Animation -------------------------------------------- ] } # --- Die Klappe --------------------------------------------------------- Transform { translation 0 3.7 31.2 children [ DEF Touch TouchSensor { } DEF Klappe Transform { children [ Shape { appearance Appearance { material Material { diffuseColor .9 .9 .7 } } geometry IndexedFaceSet { coord Coordinate { point [ 6 0 0 #3 0 Gelenk f’r Klappe links 29.6 0 0 #4 1 Gelenk f’r Klappe rechts 6 3.8 0 #2 2 Gelenk f’r Klappe links 29.6 3.8 0 #1 3 Gelenk f’r Klappe 0 3.8 0 #3 4 Eckpunkt ’ber Klappe Gelenk 33.6 3.8 0 #4 5 Eckpunkt ’ber Klappe Gelenk 0 5.6 0 #2 3 6 Eckpunkt ’ber Klappe Gelenk 33.6 5.6 0 #1 4 7 Eckpunkt ’ber Klappe Gelenk 0 7.6 -7 #3 2 3 8 Eckpunkt Papierauswurf links 33.6 7.6 -7 #4 1 4 9 Eckpunkt Papierauswurf rechts 0 5.6 -7 #2 10 Ecke Papierauswurf Wand v l 4 33.6 5.6 -7 #1 11 Ecke Papierauswurf Wand v r 4 0 16 -7 #3 2 12 Ecke Papierauswurf Wand v l 1 33.6 16 -7 #4 1 13 Ecke Papierauswurf Wand v r 3 0 16 -14.4 #2 14 Ecke Papierauswurf Wand h l 2 33.6 16 -14.4 #1 15 Ecke Papierauswurf Wand h r 2 0 5.6 -14.4 # 16 Ecke Papierauswurf Wand h l 3 33.6 5.6 -14.4 # 17 Ecke Papierauswurf Wand h r 1 0 7.6 -14.4 #0 18 links 33.6 7.6 -14.4 #0 19 rechts 6 5.471428571 -2 # 20 Gelenk der Klappe links 29.6 5.471428571 -2 # 21 Gelenk der Klappe grechts 6 16 -8 # 22 Ecke Papierentname h l 29.6 16 -8 # 23 Ecke Papierentname h r 29.6 7.6 -8 # 24 Ecke Papierentname h r 6 7.6 -8 # 25 Ecke Papierentname h l 6 16 -10 # 26 Ecke Papierentname h l 29.6 16 -10 # 27 Ecke Papierentname h r 29.6 7.6 -10 # 28 Ecke Papierentname h r 6 7.6 -10 # 29 Ecke Papierentname h l 0 16 -10 # 30 Ecke Papierentname h l 33.6 16 -10 # 31 Ecke Papierentname h l ] } coordIndex [ 3, 2, 0, 1, -1, #Fl„che Gelenk 3, 1, 0, 2, -1, #Fl„che Gelenk 7, 6, 4, 5, -1, #Fl„che unter Schr„ge 7, 5, 4, 6, -1, #Fl„che unter Schr„ge 9, 8, 6, 7, -1, #Fl„che Schr„ge 9, 7, 6, 8, -1, #Fl„che Schr„ge 13, 12, 8, 9, -1, #Fl„che ’ber Schr„ge 13, 9, 8, 12, -1, #Fl„che ’ber Schr„ge 15, 14, 30, 31, -1, #Fl„che oben Papierauswurf 15, 31, 30, 14, -1, #Fl„che oben Papierauswurf 26, 30, 12, 22, -1, #Fl„che oben Papierauswurf 26, 22, 12, 30, -1, #Fl„che oben Papierauswurf 31, 27, 23, 13, -1, #Fl„che oben Papierauswurf 31, 13, 23, 27, -1, #Fl„che oben Papierauswurf 23, 22, 12, 13, -1, #Fl„che oben Papierauswurf 23, 13, 12, 22, -1, #Fl„che oben Papierauswurf 12, 14, 16, 10, -1, #Wand links 1 12, 10, 16, 14, -1, #Wand links 1 17, 15, 13, 11, -1, #Wand rechts 1 17, 11, 13, 15, -1, #Wand rechts 1 8, 10, 4, 6, -1, #Wand links 2 8, 6, 4, 10, -1, #Wand links 2 5, 11, 9, 7, -1, #Wand rechts 2 5, 7, 9, 11, -1, #Wand rechts 2 0, 2, 20, -1, #Schanier links 0, 20, 2, -1, #Schanier links 1, 21, 3, -1, #Schanier rechts 1, 3, 21, -1, #Schanier rechts 22, 23, 24, 25, -1, #Innenwand v 22, 25, 24, 23, -1, #Innenwand v 26, 29, 28, 27, -1, #Innenwand h 26, 27, 28, 29, -1, #Innenwand h 22, 25, 29, 26, -1, #Innenwand l 22, 26, 29, 25, -1, #Innenwand l 23, 27, 28, 24, -1, #Innenwand r 23, 24, 28, 27, -1, #Innenwand r ] } #geometry face set } #children shape #- Aufkleber f’r Toner Shape { appearance Appearance { material Material { diffuseColor 1.0 0.35 0.23 } texture DEF wood ImageTexture { url "hp.jpg" } } geometry DEF square IndexedFaceSet { coord Coordinate { point [ 2.0 15.0 -6.9, 9.0 15.0 -6.9, 2.0 13.0 -6.9, 9.0 13.0 -6.9 ] } coordIndex [ 1, 0, 2, 3 ] } } #- Ende Aufkleber ] #children shape }, #def Klappe # --- Die Klappen Animation --------------------------------------------------------- # Animation path DEF KlappePath OrientationInterpolator { key [ 0.0, 0.1, 0.9 1.0] keyValue [ 1.0 0.0 0.0 0 1.0 0.0 0.0 1.7, 1.0 0.0 0.0 1.7, 1.0 0.0 0.0 0 ] } # --- Ende Klappen Animation -------------------------------------------- ] #children } #transform # --- Der Toner --------------------------------------------------------- Transform { translation 3.8 0.5 0 children [ Group { children [ # Moving box DEF Toner Transform { children [ Shape { appearance Appearance { material Material { diffuseColor 0.8 0.3 0.3 } } geometry IndexedFaceSet { coord Coordinate { point [ #Toner #Eckpunkte linke Seite 0 4.8 0 #0 0 6 2.2 #1 0 5.5 9.7 #2 0 2 9.7 #3 0 0 6.7 #4 0 0 3 #5 #Eckpunkte rechte Seite # 27.4 4.8 0 #6 27.4 6 2.2 #7 27.4 5.5 9.7 #8 27.4 2 9.7 #9 27.4 0 6.7 #10 27.4 0 3 #11 7 5.7 8.0 #12 20.4 5.7 8.0 #13 20.4 5.7 8.5 #14 7 5.7 8.5 #15 7 8 8.5 #16 20.4 8 8.5 #17 ] } coordIndex [ 5, 4, 3, 2, 1, 0, -1 6, 7, 8, 9, 10, 11, -1 0, 1, 7, 6, -1, #Fl„che schr„g oben hinten 1, 2, 8, 7, -1, #Boden 2, 3, 9, 8, -1, #Wand vorne 3, 4, 10, 9, -1, #Wand hinten 4, 5, 11, 10, -1, #Wand links 5, 0, 6, 11, -1, #Wand rechts 13, 17, 16, 12, -1, 13, 12, 16, 17, -1, 14, 17, 16, 15, -1, ] } #geometry index } #shape #- Griff f’r denToner -------------------------- Transform { rotation 0 0 1 1.57 translation 13.7 8 8.5 children [ Shape { appearance Appearance { material Material { diffuseColor 0.2 0.2 0.2 } } geometry Cylinder { radius 0.5, height 15 } } ] } #- F’hrungs Nippel f’r Tonerkartusche------------------------------ Transform { # F’hrungs Nippel rotation 0 0 1 1.57 translation 0 1 5.7 children [ DEF Nippel Shape { appearance Appearance { material Material { diffuseColor 0.2 0.2 0.2 } } geometry Cylinder { radius 0.5, height 0.5 } } ] } Transform { # F’hrungs Nippel rotation 0 0 1 -1.57 translation 0 3.3 9.1 children USE Nippel } Transform { # F’hrungs Nippel rotation 0 0 1 -1.57 translation 27.4 1 5.7 children USE Nippel } # F’hrungs Nippel Transform { rotation 0 0 1 -1.57 translation 27.4 3.3 9.1 children USE Nippel } #- Aufkleber f’r Toner ----------------------------------------------- Shape { appearance Appearance { material Material { diffuseColor 1.0 0.35 0.23 } texture DEF wood ImageTexture { url "hp.jpg" } } geometry DEF square IndexedFaceSet { coord Coordinate { point [ 3.0 5.0 10.0, 9.0 5.0 10.0, 3.0 4.0 10.0, 9.0 4.0 10.0 ] } coordIndex [ 1, 0, 2, 3 ] } } #- Ende Aufkleber ] #children }, #transform # --- Die Toner Animation --------------------------------------------------------- # Animation clock DEF Clock TimeSensor { cycleInterval 15.0 loop FALSE }, # Animation path DEF TonerPath PositionInterpolator { key [ 0.2, 0.3, 0.4, 0.6 0.7 0.8 0.9] keyValue [ 0.0 50 50, 0.0 8.5 25, 0.0 8.5 20, 0.0 7.5 16.5, 0.0 9.3 16.5, 0.0 8.3 13.5, 0.0 6.5 13.5 ] } # Rotation path DEF RotationsPath OrientationInterpolator { key [ 0.2, 0.3, 0.6, 0.7, 0.8 0.9] keyValue [ 1.0 0.0 0.0 0.0, 1.0 0.0 0.0 0.0, 1.0 0.0 0.0 0.0, 1.0 0.0 0.0 0.29, 1.0 0.0 0.0 0.29, 1.0 0.0 0.0 0.1, ] } # --- Ende Toner Animation ---------------------------------------------- ] } ] } ] } # --- Die Routes --------------------------------------------------------- ROUTE Touch.touchTime TO Clock.set_startTime ROUTE Clock.fraction_changed TO KlappePath.set_fraction ROUTE KlappePath.value_changed TO Klappe.set_rotation ROUTE Clock.fraction_changed TO TonerPath.set_fraction ROUTE TonerPath.value_changed TO Toner.set_translation ROUTE Clock.fraction_changed TO RotationsPath.set_fraction ROUTE RotationsPath.value_changed TO Toner.set_rotation ROUTE Clock.fraction_changed TO Durchsichtigkeit.set_fraction ROUTE Durchsichtigkeit.value_changed TO DruckerMaterial.set_transparency