#VRML V2.0 utf8 PROTO Buis [ ] { Shape { appearance Appearance { texture ImageTexture { url "textures/Metaalverticaal.jpg" } } geometry Cylinder { height 2 radius 0.05 } } } PROTO Bol [ ] { Shape { appearance Appearance { texture ImageTexture { url "textures/Metaalverticaal.jpg" } } geometry Sphere { radius 0.08 } } } PROTO MetalenRailingLang [ ] { Viewpoint { position 0 0 15 #position 0 0 0 } NavigationInfo { type "EXAMINE" headlight TRUE } # ------------------- # # De grote steunpalen # # ------------------- # Transform { children [ Buis {} ] } Transform { translation 3 0 0 children [ Buis {} ] } Transform { translation 6 0 0 children [ Buis {} ] } Transform { translation 3 0 0 rotation 0 0 1 1.57 scale 1 3 1 children [ Buis {} ] } Transform { translation 3 1 0 rotation 0 0 1 1.57 scale 1 3 1 children [ Buis {} ] } # -------------------- # # Bolletjes aan eindes # # -------------------- # Transform { translation 0 1 0 children [ Bol {} ] } Transform { translation 0 0 0 children [ Bol {} ] } Transform { translation 3 1 0 children [ Bol {} ] } Transform { translation 6 1 0 children [ Bol {} ] } Transform { translation 6 0 0 children [ Bol {} ] } # -------------------------------------- # # Cylinders op koppelstukken horizontaal # # -------------------------------------- # Transform { translation 0.1 0 0 rotation 0 0 1 1.57 scale 1.4 0.1 1.4 children [ Buis {} ] } Transform { translation 0.1 1 0 rotation 0 0 1 1.57 scale 1.4 0.1 1.4 children [ Buis {} ] } Transform { translation 3 0 0 rotation 0 0 1 1.57 scale 1.4 0.1 1.4 children [ Buis {} ] } Transform { translation 3 1 0 rotation 0 0 1 1.57 scale 1.4 0.1 1.4 children [ Buis {} ] } Transform { translation 5.9 0 0 rotation 0 0 1 1.57 scale 1.4 0.1 1.4 children [ Buis {} ] } Transform { translation 5.9 1 0 rotation 0 0 1 1.57 scale 1.4 0.1 1.4 children [ Buis {} ] } # ------------------------------------ # # Cylinders op koppelstukken verticaal # # ------------------------------------ # Transform { translation 0 0.9 0 scale 1.4 0.1 1.4 children [ Buis {} ] } Transform { translation 3 0.9 0 scale 1.4 0.1 1.4 children [ Buis {} ] } Transform { translation 6 0.9 0 scale 1.4 0.1 1.4 children [ Buis {} ] } } PROTO MetalenRailingKort [ ] { # ------------------- # # De grote steunpalen # # ------------------- # Transform { translation 0 0 1 children [ Buis {} ] } Transform { translation 0 0 0.5 rotation 1 0 0 1.57 scale 1 0.5 1 children [ Buis {} ] } Transform { translation 0 1 0.5 rotation 1 0 0 1.57 scale 1 0.5 1 children [ Buis {} ] } # -------------------- # # Bolletjes aan eindes # # -------------------- # Transform { translation 0 1 1 children [ Bol {} ] } Transform { translation 0 0 1 children [ Bol {} ] } # -------------------------------------- # # Cylinders op koppelstukken horizontaal # # -------------------------------------- # Transform { translation 0 0 0.1 rotation 1 0 0 1.57 scale 1.4 0.1 1.4 children [ Buis {} ] } Transform { translation 0 1 0.1 rotation 1 0 0 1.57 scale 1.4 0.1 1.4 children [ Buis {} ] } Transform { translation 0 0 0.9 rotation 1 0 0 1.57 scale 1.4 0.1 1.4 children [ Buis {} ] } Transform { translation 0 1 0.9 rotation 1 0 0 1.57 scale 1.4 0.1 1.4 children [ Buis {} ] } # ------------------------------------ # # Cylinders op koppelstukken verticaal # # ------------------------------------ # Transform { translation 0 0.9 1 scale 1.4 0.1 1.4 children [ Buis {} ] } } MetalenRailingLang {} Transform { translation 6 0 0 children [ MetalenRailingKort {} ] }