Ejemplo n.º 1
0
                         x3dpsail.SFColor(1, 0, 0))))
     ).addChild(x3dpsail.Transform().setTranslation(
         x3dpsail.SFVec3f(1, 0, 0)).addChild(
             x3dpsail.Shape().setGeometry(x3dpsail.Text().setString(
                 x3dpsail.MFString(["Node"])).setFontStyle(
                     x3dpsail.FontStyle().setJustify(
                         x3dpsail.MFString(["MIDDLE",
                                            "MIDDLE"])).setSize(
                                                x3dpsail.SFFloat(5))
                 )).setAppearance(x3dpsail.Appearance().setMaterial(
                     x3dpsail.Material().setDiffuseColor(
                         x3dpsail.SFColor(0, 0, 1))))))).
 addChild(x3dpsail.PositionInterpolator().setDEF(
     x3dpsail.SFString("NodePosition")).setKey(
         x3dpsail.MFFloat([0, 1])).setKeyValue(
             x3dpsail.MFVec3f([0, 0, 0, 0, 5, 0
                               ]))).
 addChild(x3dpsail.Script().setDEF(
     x3dpsail.SFString("MoveBall")).addField(
         x3dpsail.field().setName(
             x3dpsail.SFString("translation")).setAccessType(
                 x3dpsail.SFString("inputOutput")).setType(
                     x3dpsail.SFString("SFVec3f")).setValue(
                         x3dpsail.SFString("50 50 0"))
     ).addField(x3dpsail.field().setName(
         x3dpsail.SFString("old")).setAccessType(
             x3dpsail.SFString("inputOutput")).setType(
                 x3dpsail.SFString("SFVec3f")).setValue(
                     x3dpsail.SFString("0 0 0")
                 )).addField(x3dpsail.field().setName(
                     x3dpsail.SFString("set_cycle")).setAccessType(
                         x3dpsail.SFString("inputOnly")).setType(
                                                ]))).
        addChild(x3dpsail.Shape().setAppearance(
            x3dpsail.Appearance().setMaterial(x3dpsail.Material()).setTexture(
                x3dpsail.PixelTexture().setImage(
                    x3dpsail.SFImage(2, 2, 4, -16776961, 16711935, -1,
                                     -65281)))
        ).setGeometry(x3dpsail.IndexedFaceSet().setColorPerVertex(
            x3dpsail.SFBool(False)).setCoordIndex(
                x3dpsail.MFInt32([
                    0, 1, 3,
                    2, -1, 4, 5, 7, 6, -1, 6, 7, 1, 0, -1, 2, 3, 5, 4, -1, 6,
                    0, 2, 4, -1, 1, 7, 5, 3, -1
                ])).setCreaseAngle(x3dpsail.SFFloat(0.5)).setTexCoordIndex(
                    x3dpsail.MFInt32([
                        0, 1, 3, 2, -1, 0, 1, 3, 2, -1, 0, 1, 3, 2, -1, 0, 1,
                        3, 2, -1, 0, 1, 3, 2, -1, 0, 1, 3, 2, -1
                    ])).setColor(x3dpsail.Color().setColor(
                        x3dpsail.MFColor([
                            0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1,
                            0
                        ]))).setCoord(x3dpsail.Coordinate().setPoint(
                            x3dpsail.MFVec3f([
                                -2, 1, 1, -2, -1, 1, 2, 1, 1, 2, -1, 1, 2, 1,
                                -1, 2, -1, -1, -2, 1, -1, -2, -1, -1
                            ]))).setTexCoord(
                                x3dpsail.TextureCoordinate().setPoint(
                                    x3dpsail.MFVec2f(
                                        [-1, 2, -1, -1, 2, 2, 2, -1])))))))

X3D0.toFileX3D("./future/./indexedfaceset_pixeltexture_plus_RoundTrip.x3d")
Ejemplo n.º 3
0

X3D0 = (x3dpsail.X3D().setProfile(x3dpsail.SFString("Immersive")).setVersion(x3dpsail.SFString("3.3"))
      .setHead(x3dpsail.head()
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("generator")).setContent(x3dpsail.SFString("hand conversion from http://www.x3dom.org/x3dom/test/functional/flipper.html")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("title")).setContent(x3dpsail.SFString("flipper.x3d")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("description")).setContent(x3dpsail.SFString("flipper flopping around")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("identifier")).setContent(x3dpsail.SFString("http://www.x3dom.org/x3dom/test/functional/flipper.x3d")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("creator")).setContent(x3dpsail.SFString("Yvonne Jung, metadata by John Carlson"))))
      .setScene(x3dpsail.Scene()
        .addChild(x3dpsail.Viewpoint().setDEF(x3dpsail.SFString("cam0")).setDescription(x3dpsail.SFString("cam0 description")).setPosition(x3dpsail.SFVec3f(0,0,800)))
        .addChild(x3dpsail.Viewpoint().setDEF(x3dpsail.SFString("cam1")).setDescription(x3dpsail.SFString("cam1 description")).setPosition(x3dpsail.SFVec3f(0,0,2000)))
        .addChild(x3dpsail.Viewpoint().setDEF(x3dpsail.SFString("cam2")).setDescription(x3dpsail.SFString("cam2 description")).setPosition(x3dpsail.SFVec3f(0,200,1000)))
        .addChild(x3dpsail.Background().setGroundAngle(x3dpsail.MFFloat([0.9,1.5,1.57])).setGroundColor(x3dpsail.MFColor([0.21,0.18,0.66,0.2,0.44,0.85,0.51,0.81,0.95,0.51,0.81,0.95])).setSkyAngle(x3dpsail.MFFloat([0.9,1.5,1.57])).setSkyColor(x3dpsail.MFColor([0.21,0.18,0.66,0.2,0.44,0.85,0.51,0.81,0.95,0.51,0.81,0.95])))
        .addChild(x3dpsail.NavigationInfo().setDEF(x3dpsail.SFString("user01")).setSpeed(x3dpsail.SFFloat(50)))
        .addChild(x3dpsail.Fog())
        .addChild(x3dpsail.Transform().setDEF(x3dpsail.SFString("trans")).setRotation(x3dpsail.SFRotation(1,0,0,0.78))
          .addChild(x3dpsail.Shape()
            .setAppearance(x3dpsail.Appearance()
              .setMaterial(x3dpsail.Material().setDEF(x3dpsail.SFString("mat")).setAmbientIntensity(x3dpsail.SFFloat(0.508497)).setDiffuseColor(x3dpsail.SFColor(0.337255,0.4,0.788235)).setSpecularColor(x3dpsail.SFColor(1,1,1))))
            .setGeometry(x3dpsail.IndexedFaceSet().setCreaseAngle(x3dpsail.SFFloat(2)).setCoordIndex(x3dpsail.MFInt32([0,1,2,-1,2,3,0,-1,3,2,4,-1,4,5,3,-1,5,4,6,-1,6,7,5,-1,7,6,8,-1,9,10,11,-1,12,0,3,-1,3,13,12,-1,13,3,5,-1,5,14,13,-1,14,5,7,-1,15,16,17,-1,16,15,18,-1,18,19,16,-1,20,21,22,-1,22,23,20,-1,24,20,23,-1,23,22,25,-1,25,26,23,-1,26,25,1,-1,1,0,26,-1,26,0,27,-1,27,0,12,-1,12,28,27,-1,28,12,9,-1,9,29,28,-1,29,9,11,-1,30,29,11,-1,11,31,30,-1,30,31,32,-1,32,33,30,-1,33,32,34,-1,34,35,33,-1,35,34,36,-1,36,37,35,-1,37,36,38,-1,38,39,37,-1,39,38,40,-1,40,41,39,-1,42,19,24,-1,43,42,24,-1,44,43,24,-1,24,23,44,-1,44,23,26,-1,26,45,44,-1,45,26,27,-1,27,46,45,-1,46,27,28,-1,28,47,46,-1,47,28,29,-1,29,48,47,-1,48,29,30,-1,30,49,48,-1,49,30,33,-1,43,50,51,-1,51,42,43,-1,42,51,52,-1,52,19,42,-1,19,52,53,-1,53,16,19,-1,16,53,54,-1,50,55,56,-1,56,51,50,-1,51,56,52,-1,53,57,54,-1,58,59,60,-1,60,57,58,-1,61,62,63,-1,63,64,61,-1,16,54,64,-1,64,17,16,-1,17,64,63,-1,65,52,66,-1,66,67,65,-1,68,53,52,-1,52,65,68,-1,68,65,67,-1,67,69,68,-1,57,68,69,-1,69,58,57,-1,59,58,70,-1,70,71,59,-1,70,58,69,-1,69,72,70,-1,69,67,73,-1,72,73,74,-1,74,75,72,-1,64,54,57,-1,76,67,66,-1,76,66,77,-1,76,77,55,-1,76,55,78,-1,76,78,73,-1,76,73,67,-1,79,80,71,-1,71,70,79,-1,75,79,70,-1,70,72,75,-1,81,75,82,-1,82,74,81,-1,83,81,74,-1,75,81,84,-1,84,85,75,-1,83,74,86,-1,86,87,83,-1,86,74,88,-1,88,89,86,-1,74,78,88,-1,88,78,55,-1,55,90,88,-1,55,50,43,-1,43,91,55,-1,90,55,91,-1,88,90,92,-1,92,89,88,-1,89,92,93,-1,93,94,89,-1,94,93,95,-1,95,96,94,-1,96,95,97,-1,97,98,96,-1,98,97,99,-1,99,100,98,-1,100,99,101,-1,101,102,100,-1,102,101,103,-1,103,104,102,-1,104,103,105,-1,105,106,104,-1,106,105,107,-1,107,108,106,-1,92,90,91,-1,92,91,44,-1,44,91,43,-1,92,44,45,-1,45,93,92,-1,93,45,46,-1,46,95,93,-1,95,46,47,-1,47,97,95,-1,97,47,48,-1,48,99,97,-1,99,48,49,-1,49,101,99,-1,101,49,33,-1,33,103,101,-1,103,33,35,-1,35,105,103,-1,105,35,37,-1,37,107,105,-1,107,37,39,-1,39,109,107,-1,109,39,41,-1,86,89,94,-1,94,110,86,-1,110,94,96,-1,96,111,110,-1,111,96,98,-1,98,112,111,-1,112,98,100,-1,100,113,112,-1,113,100,102,-1,102,114,113,-1,114,102,104,-1,104,115,114,-1,115,104,106,-1,106,116,115,-1,116,106,108,-1,108,117,116,-1,117,108,118,-1,87,86,119,-1,119,120,87,-1,119,86,110,-1,110,121,119,-1,119,121,122,-1,122,123,119,-1,124,119,123,-1,110,111,125,-1,125,126,110,-1,127,113,114,-1,114,128,127,-1,129,116,117,-1,117,130,129,-1,131,83,87,-1,87,132,131,-1,132,87,110,-1,110,126,132,-1,133,81,83,-1,83,131,133,-1,134,84,81,-1,81,133,134,-1,135,136,84,-1,84,134,135,-1,136,85,84,-1,135,137,138,-1,138,136,135,-1,139,140,141,-1,142,143,41,-1,41,144,142,-1,145,142,144,-1,144,146,145,-1,107,109,147,-1,147,108,107,-1,108,147,118,-1,64,57,60,-1,60,61,64,-1,61,148,149,-1,149,62,61,-1,148,61,60,-1,60,59,148,-1,85,79,75,-1,85,136,80,-1,80,79,85,-1,138,80,136,-1,80,138,150,-1,150,71,80,-1,71,150,148,-1,148,59,71,-1,150,138,137,-1,137,151,150,-1,151,149,148,-1,148,150,151,-1,66,52,56,-1,56,55,77,-1,73,78,74,-1,53,68,57,-1,56,77,66,-1,123,152,153,-1,153,124,123,-1,120,119,124,-1,124,153,120,-1,152,123,122,-1,87,120,121,-1,121,110,87,-1,153,152,122,-1,122,121,153,-1,120,153,121,-1,12,13,10,-1,10,9,12,-1,14,154,10,-1,10,13,14,-1,8,155,154,-1,154,14,8,-1,7,8,14,-1,156,112,113,-1,113,127,156,-1,111,112,156,-1,156,125,111,-1,115,116,129,-1,129,157,115,-1,115,157,128,-1,128,114,115,-1,158,130,117,-1,117,118,158,-1,140,159,160,-1,160,161,140,-1,118,147,161,-1,161,160,118,-1,159,140,139,-1,40,144,41,-1,146,158,118,-1,162,145,146,-1,146,118,162,-1,160,162,118,-1,159,141,162,-1,162,160,159,-1,139,141,159,-1,162,141,140,-1,140,161,162,-1,142,145,162,-1,162,161,142,-1,143,142,161,-1,147,143,161,-1,109,41,143,-1,143,147,109,-1,20,163,21,-1,163,20,19,-1,19,18,163,-1,20,24,19,-1,164,2,1,-1,1,165,164,-1,166,4,2,-1,2,164,166,-1,167,6,4,-1,4,166,167,-1,8,6,167,-1,11,10,168,-1,169,164,165,-1,165,170,169,-1,171,166,164,-1,164,169,171,-1,167,166,171,-1,17,172,15,-1,173,18,15,-1,15,172,173,-1,22,21,174,-1,174,175,22,-1,176,22,175,-1,177,25,22,-1,22,176,177,-1,165,1,25,-1,25,177,165,-1,178,165,177,-1,179,170,165,-1,165,178,179,-1,180,168,170,-1,170,179,180,-1,11,168,180,-1,31,11,180,-1,180,181,31,-1,182,32,31,-1,31,181,182,-1,183,34,32,-1,32,182,183,-1,184,36,34,-1,34,183,184,-1,185,38,36,-1,36,184,185,-1,186,40,38,-1,38,185,186,-1,175,173,187,-1,175,187,188,-1,176,175,188,-1,188,189,176,-1,190,177,176,-1,176,189,190,-1,191,178,177,-1,177,190,191,-1,192,179,178,-1,178,191,192,-1,193,180,179,-1,179,192,193,-1,194,181,180,-1,180,193,194,-1,182,181,194,-1,187,195,196,-1,196,188,187,-1,173,197,195,-1,195,187,173,-1,198,197,173,-1,173,172,198,-1,199,198,172,-1,195,200,201,-1,201,196,195,-1,197,200,195,-1,199,202,198,-1,202,203,204,-1,204,205,202,-1,206,63,62,-1,62,207,206,-1,17,206,199,-1,199,172,17,-1,63,206,17,-1,208,209,197,-1,197,210,208,-1,210,197,198,-1,198,211,210,-1,212,208,210,-1,210,211,212,-1,205,212,211,-1,211,202,205,-1,213,214,205,-1,205,204,213,-1,215,212,205,-1,205,214,215,-1,216,208,212,-1,217,218,216,-1,216,215,217,-1,202,199,206,-1,209,208,219,-1,220,209,219,-1,201,220,219,-1,221,201,219,-1,216,221,219,-1,208,216,219,-1,214,213,222,-1,222,223,214,-1,215,214,223,-1,223,217,215,-1,224,217,225,-1,225,226,224,-1,218,224,226,-1,227,228,225,-1,225,217,227,-1,229,230,218,-1,218,226,229,-1,231,232,218,-1,218,230,231,-1,232,221,218,-1,233,201,221,-1,221,232,233,-1,188,196,201,-1,201,233,188,-1,234,188,233,-1,231,235,233,-1,233,232,231,-1,236,237,235,-1,235,231,236,-1,238,239,237,-1,237,236,238,-1,240,241,239,-1,239,238,240,-1,242,243,241,-1,241,240,242,-1,244,245,243,-1,243,242,244,-1,246,247,245,-1,245,244,246,-1,248,249,247,-1,247,246,248,-1,250,251,249,-1,249,248,250,-1,234,233,235,-1,189,234,235,-1,188,234,189,-1,237,190,189,-1,189,235,237,-1,239,191,190,-1,190,237,239,-1,241,192,191,-1,191,239,241,-1,243,193,192,-1,192,241,243,-1,245,194,193,-1,193,243,245,-1,247,182,194,-1,194,245,247,-1,249,183,182,-1,182,247,249,-1,251,184,183,-1,183,249,251,-1,252,185,184,-1,184,251,252,-1,186,185,252,-1,253,236,231,-1,231,230,253,-1,254,238,236,-1,236,253,254,-1,255,240,238,-1,238,254,255,-1,256,242,240,-1,240,255,256,-1,257,244,242,-1,242,256,257,-1,258,246,244,-1,244,257,258,-1,259,248,246,-1,246,258,259,-1,260,250,248,-1,248,259,260,-1,261,250,260,-1,262,263,230,-1,230,229,262,-1,264,253,230,-1,230,263,264,-1,265,264,263,-1,263,266,265,-1,267,265,266,-1,126,125,254,-1,254,253,126,-1,128,257,256,-1,256,127,128,-1,130,260,259,-1,259,129,130,-1,132,229,226,-1,226,131,132,-1,126,253,229,-1,229,132,126,-1,131,226,225,-1,225,133,131,-1,133,225,228,-1,228,134,133,-1,134,228,268,-1,268,135,134,-1,228,227,268,-1,268,269,137,-1,137,135,268,-1,270,271,272,-1,144,186,273,-1,273,274,144,-1,146,144,274,-1,274,275,146,-1,250,276,252,-1,252,251,250,-1,261,276,250,-1,207,203,202,-1,202,206,207,-1,62,149,277,-1,277,207,62,-1,204,203,207,-1,207,277,204,-1,217,223,227,-1,223,222,268,-1,268,227,223,-1,268,222,269,-1,213,278,269,-1,269,222,213,-1,204,277,278,-1,278,213,204,-1,151,137,269,-1,269,278,151,-1,278,277,149,-1,149,151,278,-1,200,197,209,-1,220,201,200,-1,218,221,216,-1,202,211,198,-1,209,220,200,-1,266,279,280,-1,280,267,266,-1,279,266,263,-1,263,262,279,-1,265,267,280,-1,253,264,262,-1,262,229,253,-1,265,280,279,-1,279,262,265,-1,264,265,262,-1,168,10,169,-1,169,170,168,-1,169,10,154,-1,154,171,169,-1,154,155,8,-1,8,167,154,-1,171,154,167,-1,127,256,255,-1,255,156,127,-1,125,156,255,-1,255,254,125,-1,157,129,259,-1,259,258,157,-1,257,128,157,-1,157,258,257,-1,261,260,130,-1,130,158,261,-1,281,282,283,-1,283,271,281,-1,282,281,276,-1,276,261,282,-1,272,271,283,-1,186,144,40,-1,261,158,146,-1,146,275,284,-1,284,282,146,-1,261,146,282,-1,282,284,270,-1,270,283,282,-1,283,270,272,-1,281,271,270,-1,270,284,281,-1,281,284,275,-1,275,274,281,-1,281,274,273,-1,281,273,276,-1,276,273,186,-1,186,252,276,-1,21,163,174,-1,18,173,174,-1,174,163,18,-1,173,175,174,-1,212,215,216,-1,73,72,69,-1]))
              .setCoord(x3dpsail.Coordinate().setDEF(x3dpsail.SFString("pointList")).setPoint(x3dpsail.MFVec3f([-23.495,90.55,-8.13,-28.825,91.31,0,9.77497,126.11,0,17.395,124.84,-6.1,42.795,142.11,0,46.105,139.07,-3.56,74.295,144.4,0,76.075,140.08,-1.27,92.325,139.57,0,74.805,80.9,-9.91,74.295,98.93,0,84.965,74.04,0,35.175,88.77,-11.68,50.165,110.11,-6.1,60.835,121.79,-3.56,-194.695,-8,0,-200.025,-15.87,-7.62,-205.105,-19.68,0,-177.165,7.75,0,-180.975,1.39999,-13.97,-156.335,22.23,-5.33,-151.515,27.05,0,-117.475,50.67,0,-118.495,44.58,-18.29,-155.325,20.19,-13.97,-74.805,71.25,0,-75.565,65.91,-22.35,-26.545,75.57,-24.64,31.625,74.04,-26.67,87.755,62.1,-20.32,154.055,26.04,-11.68,155.325,30.1,0,195.965,-4.95001,0,188.345,-14.1,-14.73,213.995,-28.57,0,204.085,-41.02,-11.94,226.445,-52.45,0,217.045,-63.88,-7.87,232.535,-72.52,0,226.945,-79.88,-9.65,228.725,-91.31,0,224.665,-87.5,-7.37,-157.865,13.84,-22.35,-141.605,12.57,-32.77,-112.145,30.61,-29.97,-75.055,47.12,-32,-26.545,57.79,-35.81,24.005,56.52,-34.04,84.455,48.64,-28.45,150.745,19.18,-18.29,-153.285,-0.380005,-36.58,-163.445,1.14001,-31.75,-171.065,-5.97,-27.43,-187.325,-22.99,-20.83,-201.545,-37.21,-10.16,-151.005,-10.29,-35.81,-161.925,-5.97,-30.99,-203.325,-44.83,-13.97,-196.465,-54.48,-14.99,-223.135,-77.6,-7.37,-228.215,-75.31,-7.37,-233.045,-79.12,-4.06,-234.315,-77.6,0,-210.695,-46.1,0,-207.895,-43.81,-5.08,-171.835,-19.68,-30.48,-164.465,-11.81,-30.73,-170.815,-22.48,-30.73,-184.275,-27.05,-26.42,-180.975,-32.38,-25.91,-192.655,-58.29,-16.26,-216.785,-78.61,-8.38,-174.375,-43.31,-25.91,-165.485,-28.07,-34.54,-142.625,-35.94,-34.8,-171.835,-48.89,-27.43,-160.405,-22.73,-34.8,-158.365,-13.59,-34.54,-144.655,-24.26,-38.61,-191.135,-63.37,-18.29,-212.975,-81.41,-10.92,-167.765,-70.48,-17.02,-154.555,-41.02,-31.75,-132.205,-61.09,-22.35,-185.295,-71.25,-10.16,-190.625,-66.93,-17.27,-103.755,-39.75,-43.18,-101.985,-49.66,-35.05,-140.335,-23.24,-40.39,-100.715,-9.51999,-49.28,-135.255,-5.45999,-40.13,-134.235,7.48999,-36.58,-104.015,14.1,-42.67,-72.515,23.75,-46.23,-60.575,-1.39999,-51.05,-21.975,26.04,-48.01,-16.895,7.23999,-51.05,26.035,31.12,-46.23,28.065,7.48999,-49.02,81.915,25.02,-43.94,81.405,-1.89999,-44.7,141.095,0.130005,-33.02,130.935,-22.22,-28.45,176.405,-24.76,-23.37,161.675,-44.58,-21.84,194.185,-48.89,-13.97,183.515,-59.82,-14.22,206.125,-65.4,-9.91,195.455,-72.26,-10.67,220.345,-83.69,-18.29,-64.895,-34.16,-41.15,-15.365,-26.8,-37.59,22.475,-24.76,-38.1,70.735,-27.3,-30.99,120.525,-40.77,-17.27,154.055,-60.83,-9.65,174.875,-69.21,-7.11,195.965,-86.23,-5.59,205.355,-94.36,-11.94,-75.565,-64.9,-73.66,-76.325,-67.69,-71.37,-53.465,-53.72,-64.52,-29.845,-68.96,-77.22,-44.065,-71.75,-80.77,-64.385,-69.21,-80.01,-18.925,-40,0,-62.355,-49.91,0,68.455,-38.23,0,123.825,-45.08,0,171.325,-71.75,0,195.705,-88.26,0,-127.635,-63.63,0,-92.835,-56.51,0,-159.895,-73.28,0,-182.495,-73.28,0,-207.395,-85.72,0,-210.435,-84.45,-7.87,-226.185,-93.85,0,-223.905,-91.57,-4.57,232.285,-144.4,-86.61,217.555,-117.73,-73.15,231.015,-135.76,-63.25,229.745,-112.14,-9.65,224.155,-97.92,-16.51,228.215,-104.01,0,234.315,-121.03,-5.84,230.505,-113.92,0,218.565,-86.23,-24.13,-230.505,-84.45,-3.81,-231.015,-84.2,0,-228.725,-89.53,-4.83,-230.505,-90.3,0,-43.815,-73.02,-79.25,-63.885,-72.01,-78.23,83.695,119.76,0,95.375,131.45,0,24.255,-36.45,0,151.005,-61.59,0,205.615,-96.9,0,215.775,-119.51,-73.15,210.695,-104.52,-52.32,213.745,-101.47,-52.32,232.535,-127.89,-21.59,-154.815,25.02,0,17.395,124.84,6.1,-23.495,90.55,8.13,46.105,139.07,3.56,76.075,140.08,1.27,74.805,80.9,9.91,50.165,110.11,6.1,35.175,88.77,11.68,60.835,121.79,3.56,-200.025,-15.87,7.62,-180.975,1.39999,13.97,-156.335,22.23,5.33,-155.325,20.19,13.97,-118.495,44.58,18.29,-75.565,65.91,22.35,-26.545,75.57,24.64,31.625,74.04,26.67,87.755,62.1,20.32,154.055,26.04,11.68,188.345,-14.1,14.73,204.085,-41.02,11.94,217.045,-63.88,7.87,226.945,-79.88,9.65,224.665,-87.5,7.37,-157.865,13.84,22.35,-141.605,12.57,32.77,-112.145,30.61,29.97,-75.055,47.12,32,-26.545,57.79,35.81,24.005,56.52,34.04,84.455,48.64,28.45,150.745,19.18,18.29,-163.445,1.14001,31.75,-153.285,-0.380005,36.58,-171.065,-5.97,27.43,-187.325,-22.99,20.83,-201.545,-37.21,10.16,-161.925,-5.97,30.99,-151.005,-10.29,35.81,-203.325,-44.83,13.97,-228.215,-75.31,7.37,-223.135,-77.6,7.37,-196.465,-54.48,14.99,-207.895,-43.81,5.08,-233.045,-79.12,4.06,-170.815,-22.48,30.73,-164.465,-11.81,30.73,-171.835,-19.68,30.48,-184.275,-27.05,26.42,-180.975,-32.38,25.91,-216.785,-78.61,8.38,-192.655,-58.29,16.26,-174.375,-43.31,25.91,-165.485,-28.07,34.54,-171.835,-48.89,27.43,-142.625,-35.94,34.8,-160.405,-22.73,34.8,-158.365,-13.59,34.54,-144.655,-24.26,38.61,-212.975,-81.41,10.92,-191.135,-63.37,18.29,-154.555,-41.02,31.75,-167.765,-70.48,17.02,-132.205,-61.09,22.35,-190.625,-66.93,17.27,-185.295,-71.25,10.16,-101.985,-49.66,35.05,-103.755,-39.75,43.18,-100.715,-9.51999,49.28,-140.335,-23.24,40.39,-135.255,-5.45999,40.13,-134.235,7.48999,36.58,-104.015,14.1,42.67,-60.575,-1.39999,51.05,-72.515,23.75,46.23,-16.895,7.23999,51.05,-21.975,26.04,48.01,28.065,7.48999,49.02,26.035,31.12,46.23,81.405,-1.89999,44.7,81.915,25.02,43.94,130.935,-22.22,28.45,141.095,0.130005,33.02,161.675,-44.58,21.84,176.405,-24.76,23.37,183.515,-59.82,14.22,194.185,-48.89,13.97,195.455,-72.26,10.67,206.125,-65.4,9.91,220.345,-83.69,18.29,-64.895,-34.16,41.15,-15.365,-26.8,37.59,22.475,-24.76,38.1,70.735,-27.3,30.99,120.525,-40.77,17.27,154.055,-60.83,9.65,174.875,-69.21,7.11,195.965,-86.23,5.59,205.355,-94.36,11.94,-76.325,-67.69,71.37,-75.565,-64.9,73.66,-53.465,-53.72,64.52,-29.845,-68.96,77.22,-64.385,-69.21,80.01,-44.065,-71.75,80.77,-210.435,-84.45,7.87,-223.905,-91.57,4.57,231.015,-135.76,63.25,217.555,-117.73,73.15,232.285,-144.4,86.61,224.155,-97.92,16.51,229.745,-112.14,9.65,234.315,-121.03,5.84,218.565,-86.23,24.13,-230.505,-84.45,3.81,-228.725,-89.53,4.83,-63.885,-72.01,78.23,-43.815,-73.02,79.25,213.745,-101.47,52.32,210.695,-104.52,52.32,215.775,-119.51,73.15,232.535,-127.89,21.59]))))))
        .addChild(x3dpsail.TimeSensor().setDEF(x3dpsail.SFString("ts")).setCycleInterval(x3dpsail.SFTime(2)).setLoop(x3dpsail.SFBool(True)))
        .addChild(x3dpsail.ScalarInterpolator().setDEF(x3dpsail.SFString("si")).setKey(x3dpsail.MFFloat([0,0.5,1])).setKeyValue(x3dpsail.MFFloat([0,1,0])))
        .addChild(x3dpsail.CoordinateInterpolator().setDEF(x3dpsail.SFString("ci")).setKey(x3dpsail.MFFloat([0,0.5,1])).setKeyValue(x3dpsail.MFVec3f([-23.495,90.55,-8.13,-28.825,91.31,0,9.77497,126.11,0,17.395,124.84,-6.1,42.795,142.11,0,46.105,139.07,-3.56,74.295,144.4,0,76.075,140.08,-1.27,92.325,139.57,0,74.805,80.9,-9.91,74.295,98.93,0,84.965,74.04,0,35.175,88.77,-11.68,50.165,110.11,-6.1,60.835,121.79,-3.56,-194.695,-8,0,-200.025,-15.87,-7.62,-205.105,-19.68,0,-177.165,7.75,0,-180.975,1.39999,-13.97,-156.335,22.23,-5.33,-151.515,27.05,0,-117.475,50.67,0,-118.495,44.58,-18.29,-155.325,20.19,-13.97,-74.805,71.25,0,-75.565,65.91,-22.35,-26.545,75.57,-24.64,31.625,74.04,-26.67,87.755,62.1,-20.32,154.055,26.04,-11.68,155.325,30.1,0,195.965,-4.95001,0,188.345,-14.1,-14.73,213.995,-28.57,0,204.085,-41.02,-11.94,226.445,-52.45,0,217.045,-63.88,-7.87,232.535,-72.52,0,226.945,-79.88,-9.65,228.725,-91.31,0,224.665,-87.5,-7.37,-157.865,13.84,-22.35,-141.605,12.57,-32.77,-112.145,30.61,-29.97,-75.055,47.12,-32,-26.545,57.79,-35.81,24.005,56.52,-34.04,84.455,48.64,-28.45,150.745,19.18,-18.29,-153.285,-0.380005,-36.58,-163.445,1.14001,-31.75,-171.065,-5.97,-27.43,-187.325,-22.99,-20.83,-201.545,-37.21,-10.16,-151.005,-10.29,-35.81,-161.925,-5.97,-30.99,-203.325,-44.83,-13.97,-196.465,-54.48,-14.99,-223.135,-77.6,-7.37,-228.215,-75.31,-7.37,-233.045,-79.12,-4.06,-234.315,-77.6,0,-210.695,-46.1,0,-207.895,-43.81,-5.08,-171.835,-19.68,-30.48,-164.465,-11.81,-30.73,-170.815,-22.48,-30.73,-184.275,-27.05,-26.42,-180.975,-32.38,-25.91,-192.655,-58.29,-16.26,-216.785,-78.61,-8.38,-174.375,-43.31,-25.91,-165.485,-28.07,-34.54,-142.625,-35.94,-34.8,-171.835,-48.89,-27.43,-160.405,-22.73,-34.8,-158.365,-13.59,-34.54,-144.655,-24.26,-38.61,-191.135,-63.37,-18.29,-212.975,-81.41,-10.92,-167.765,-70.48,-17.02,-154.555,-41.02,-31.75,-132.205,-61.09,-22.35,-185.295,-71.25,-10.16,-190.625,-66.93,-17.27,-103.755,-39.75,-43.18,-101.985,-49.66,-35.05,-140.335,-23.24,-40.39,-100.715,-9.51999,-49.28,-135.255,-5.45999,-40.13,-134.235,7.48999,-36.58,-104.015,14.1,-42.67,-72.515,23.75,-46.23,-60.575,-1.39999,-51.05,-21.975,26.04,-48.01,-16.895,7.23999,-51.05,26.035,31.12,-46.23,28.065,7.48999,-49.02,81.915,25.02,-43.94,81.405,-1.89999,-44.7,141.095,0.130005,-33.02,130.935,-22.22,-28.45,176.405,-24.76,-23.37,161.675,-44.58,-21.84,194.185,-48.89,-13.97,183.515,-59.82,-14.22,206.125,-65.4,-9.91,195.455,-72.26,-10.67,220.345,-83.69,-18.29,-64.895,-34.16,-41.15,-15.365,-26.8,-37.59,22.475,-24.76,-38.1,70.735,-27.3,-30.99,120.525,-40.77,-17.27,154.055,-60.83,-9.65,174.875,-69.21,-7.11,195.965,-86.23,-5.59,205.355,-94.36,-11.94,-75.565,-64.9,-73.66,-76.325,-67.69,-71.37,-53.465,-53.72,-64.52,-29.845,-68.96,-77.22,-44.065,-71.75,-80.77,-64.385,-69.21,-80.01,-18.925,-40,0,-62.355,-49.91,0,68.455,-38.23,0,123.825,-45.08,0,171.325,-71.75,0,195.705,-88.26,0,-127.635,-63.63,0,-92.835,-56.51,0,-159.895,-73.28,0,-182.495,-73.28,0,-207.395,-85.72,0,-210.435,-84.45,-7.87,-226.185,-93.85,0,-223.905,-91.57,-4.57,232.285,-144.4,-86.61,217.555,-117.73,-73.15,231.015,-135.76,-63.25,229.745,-112.14,-9.65,224.155,-97.92,-16.51,228.215,-104.01,0,234.315,-121.03,-5.84,230.505,-113.92,0,218.565,-86.23,-24.13,-230.505,-84.45,-3.81,-231.015,-84.2,0,-228.725,-89.53,-4.83,-230.505,-90.3,0,-43.815,-73.02,-79.25,-63.885,-72.01,-78.23,83.695,119.76,0,95.375,131.45,0,24.255,-36.45,0,151.005,-61.59,0,205.615,-96.9,0,215.775,-119.51,-73.15,210.695,-104.52,-52.32,213.745,-101.47,-52.32,232.535,-127.89,-21.59,-154.815,25.02,0,17.395,124.84,6.1,-23.495,90.55,8.13,46.105,139.07,3.56,76.075,140.08,1.27,74.805,80.9,9.91,50.165,110.11,6.1,35.175,88.77,11.68,60.835,121.79,3.56,-200.025,-15.87,7.62,-180.975,1.39999,13.97,-156.335,22.23,5.33,-155.325,20.19,13.97,-118.495,44.58,18.29,-75.565,65.91,22.35,-26.545,75.57,24.64,31.625,74.04,26.67,87.755,62.1,20.32,154.055,26.04,11.68,188.345,-14.1,14.73,204.085,-41.02,11.94,217.045,-63.88,7.87,226.945,-79.88,9.65,224.665,-87.5,7.37,-157.865,13.84,22.35,-141.605,12.57,32.77,-112.145,30.61,29.97,-75.055,47.12,32,-26.545,57.79,35.81,24.005,56.52,34.04,84.455,48.64,28.45,150.745,19.18,18.29,-163.445,1.14001,31.75,-153.285,-0.380005,36.58,-171.065,-5.97,27.43,-187.325,-22.99,20.83,-201.545,-37.21,10.16,-161.925,-5.97,30.99,-151.005,-10.29,35.81,-203.325,-44.83,13.97,-228.215,-75.31,7.37,-223.135,-77.6,7.37,-196.465,-54.48,14.99,-207.895,-43.81,5.08,-233.045,-79.12,4.06,-170.815,-22.48,30.73,-164.465,-11.81,30.73,-171.835,-19.68,30.48,-184.275,-27.05,26.42,-180.975,-32.38,25.91,-216.785,-78.61,8.38,-192.655,-58.29,16.26,-174.375,-43.31,25.91,-165.485,-28.07,34.54,-171.835,-48.89,27.43,-142.625,-35.94,34.8,-160.405,-22.73,34.8,-158.365,-13.59,34.54,-144.655,-24.26,38.61,-212.975,-81.41,10.92,-191.135,-63.37,18.29,-154.555,-41.02,31.75,-167.765,-70.48,17.02,-132.205,-61.09,22.35,-190.625,-66.93,17.27,-185.295,-71.25,10.16,-101.985,-49.66,35.05,-103.755,-39.75,43.18,-100.715,-9.51999,49.28,-140.335,-23.24,40.39,-135.255,-5.45999,40.13,-134.235,7.48999,36.58,-104.015,14.1,42.67,-60.575,-1.39999,51.05,-72.515,23.75,46.23,-16.895,7.23999,51.05,-21.975,26.04,48.01,28.065,7.48999,49.02,26.035,31.12,46.23,81.405,-1.89999,44.7,81.915,25.02,43.94,130.935,-22.22,28.45,141.095,0.130005,33.02,161.675,-44.58,21.84,176.405,-24.76,23.37,183.515,-59.82,14.22,194.185,-48.89,13.97,195.455,-72.26,10.67,206.125,-65.4,9.91,220.345,-83.69,18.29,-64.895,-34.16,41.15,-15.365,-26.8,37.59,22.475,-24.76,38.1,70.735,-27.3,30.99,120.525,-40.77,17.27,154.055,-60.83,9.65,174.875,-69.21,7.11,195.965,-86.23,5.59,205.355,-94.36,11.94,-76.325,-67.69,71.37,-75.565,-64.9,73.66,-53.465,-53.72,64.52,-29.845,-68.96,77.22,-64.385,-69.21,80.01,-44.065,-71.75,80.77,-210.435,-84.45,7.87,-223.905,-91.57,4.57,231.015,-135.76,63.25,217.555,-117.73,73.15,232.285,-144.4,86.61,224.155,-97.92,16.51,229.745,-112.14,9.65,234.315,-121.03,5.84,218.565,-86.23,24.13,-230.505,-84.45,3.81,-228.725,-89.53,4.83,-63.885,-72.01,78.23,-43.815,-73.02,79.25,213.745,-101.47,52.32,210.695,-104.52,52.32,215.775,-119.51,73.15,232.535,-127.89,21.59,-59.809,52.365,-8.13,-65.138,53.125,0,-26.539,87.925,0,-18.918,86.655,-6.1,6.48099,103.925,0,9.791,100.885,-3.56,37.981,106.215,0,39.761,101.895,-1.27,56.011,101.385,0,38.491,42.715,-9.91,37.981,60.745,0,48.651,35.855,0,-1.138,50.585,-11.68,13.851,71.925,-6.1,24.522,83.605,-3.56,-231.682,-23.267,0,-237.645,-30.669,-7.62,-243.023,-34.045,0,-212.908,-9.02301,0,-217.23,-15.036,-13.97,-190.95,3.68199,-5.33,-185.747,8.08699,0,-149.868,28.807,0,-151.389,22.822,-18.29,-190.112,1.56599,-13.97,-105.641,45.783,0,-106.84,40.524,-22.35,-62.859,37.385,-24.64,-4.68901,35.855,-26.67,51.441,23.915,-20.32,106.312,12.011,-11.68,106.024,16.252,0,147.052,3.38199,0,146.393,-8.34801,-14.73,171.674,-5.229,0,172.586,-21.01,-11.94,195.158,-14.477,0,196.995,-29.125,-7.87,213.773,-23.372,0,215.823,-32.396,-9.65,226.225,-38.058,0,220.317,-38.998,-7.37,-193.17,-4.552,-22.35,-177.07,-7.164,-32.77,-146.218,8.37399,-29.97,-107.888,21.756,-32,-62.859,19.605,-35.81,-12.309,18.335,-34.04,48.141,10.455,-28.45,105.971,4.41499,-18.29,-189.783,-19.103,-36.58,-199.782,-16.746,-31.75,-207.965,-23.201,-27.43,-225.578,-38.816,-20.83,-240.927,-51.8097,-10.16,-188.331,-29.167,-35.81,-198.856,-23.958,-30.99,-243.332,-59.2561,-13.97,-237.294,-69.441,-14.99,-265.787,-90.2731,-7.37,-270.66,-87.5703,-7.37,-275.789,-90.9673,-4.06,-276.929,-89.3473,0,-250.782,-59.9115,0,-247.801,-57.8612,-5.08,-209.867,-36.8,-30.48,-201.871,-29.567,-30.73,-209.083,-39.675,-30.73,-222.875,-43.115,-26.42,-220.028,-48.6996,-25.91,-233.813,-73.5535,-16.26,-259.543,-91.8055,-8.38,-214.355,-60.1386,-25.91,-204.234,-45.6871,-34.54,-182.104,-55.4231,-34.8,-212.286,-65.9098,-27.43,-198.729,-40.786,-34.8,-195.939,-31.846,-34.54,-183.16,-43.615,-38.61,-232.719,-78.7419,-18.29,-255.978,-94.9114,-10.92,-210.018,-87.7627,-17.02,-194.414,-59.4977,-31.75,-173.802,-81.3496,-22.35,-227.551,-87.0784,-10.16,-232.505,-82.3319,-17.27,-143.683,-62.4388,-43.18,-142.74,-72.4613,-35.05,-178.77,-42.956,-40.39,-138.15,-32.564,-49.28,-172.235,-25.658,-40.13,-170.146,-12.837,-36.58,-139.483,-8.75201,-42.67,-107.292,-1.744,-46.23,-97.476,-27.796,-51.05,-58.289,-12.145,-48.01,-53.209,-30.945,-51.05,-10.278,-7.065,-46.23,-8.248,-30.695,-49.02,45.601,-13.165,-43.94,45.091,-40.085,-44.7,104.428,-16.842,-33.02,103.132,-41.349,-28.45,142.888,-23.631,-23.37,140.785,-48.174,-21.84,170.176,-33.299,-13.97,168.47,-48.4858,-14.22,190.176,-37.899,-9.91,186.651,-50.2548,-10.67,214.231,-39.981,-18.29,-104.494,-60.0859,-41.15,-51.679,-64.9852,-37.59,-13.839,-62.9452,-38.1,34.421,-65.4852,-30.99,99.745,-62.3666,-17.27,142.447,-66.0489,-9.65,166.932,-61.2393,-7.11,197.22,-60.0188,-5.59,211.268,-58.5942,-11.94,-117.672,-75.6501,-73.66,-118.661,-77.4442,-71.37,-94.723,-69.5026,-64.52,-72.446,-80.8209,-77.22,-86.848,-81.8791,-80.77,-106.888,-79.097,-80.01,-55.239,-78.1852,0,-103.267,-75.9921,0,32.141,-76.4152,0,104.771,-65.2363,0,165.318,-65.4299,0,198.53,-61.6453,0,-169.458,-84.2593,0,-134.188,-80.0455,0,-202.407,-91.2048,0,-224.929,-89.3333,0,-250.774,-99.6686,0,-253.698,-98.1512,-7.87,-270.172,-106.215,0,-267.711,-104.131,-4.57,276.929,-62.7435,-86.61,240.739,-63.0053,-73.15,267.577,-60.039,-63.25,244.778,-49.169,-9.65,228.522,-45.796,-16.51,236.579,-45.9526,0,256.002,-49.7235,-5.84,246.9,-49.46,0,214.954,-43.007,-24.13,-273.699,-96.4893,-3.81,-274.187,-96.1979,0,-272.346,-101.699,-4.83,-274.184,-102.319,0,-86.704,-82.7284,-79.25,-106.621,-80.9666,-78.23,47.381,81.575,0,59.061,93.265,0,-12.059,-74.6352,0,139.891,-68.2642,0,213.513,-60.0741,0,240.934,-65.579,-73.15,223.876,-60.9112,-52.32,223.725,-56.5192,-52.32,261.158,-54.7995,-21.59,-189.204,6.33699,0,-18.918,86.655,6.1,-59.809,52.365,8.13,9.791,100.885,3.56,39.761,101.895,1.27,38.491,42.715,9.91,13.851,71.925,6.1,-1.138,50.585,11.68,24.522,83.605,3.56,-237.645,-30.669,7.62,-217.23,-15.036,13.97,-190.95,3.68199,5.33,-190.112,1.56599,13.97,-151.389,22.822,18.29,-106.84,40.524,22.35,-62.859,37.385,24.64,-4.68901,35.855,26.67,51.441,23.915,20.32,106.312,12.011,11.68,146.393,-8.34801,14.73,172.586,-21.01,11.94,196.995,-29.125,7.87,215.823,-32.396,9.65,220.317,-38.998,7.37,-193.17,-4.552,22.35,-177.07,-7.164,32.77,-146.218,8.37399,29.97,-107.888,21.756,32,-62.859,19.605,35.81,-12.309,18.335,34.04,48.141,10.455,28.45,105.971,4.41499,18.29,-199.782,-16.746,31.75,-189.783,-19.103,36.58,-207.965,-23.201,27.43,-225.578,-38.816,20.83,-240.927,-51.8097,10.16,-198.856,-23.958,30.99,-188.331,-29.167,35.81,-243.332,-59.2561,13.97,-270.66,-87.5703,7.37,-265.787,-90.2731,7.37,-237.294,-69.441,14.99,-247.801,-57.8612,5.08,-275.789,-90.9673,4.06,-209.083,-39.675,30.73,-201.871,-29.567,30.73,-209.867,-36.8,30.48,-222.875,-43.115,26.42,-220.028,-48.6996,25.91,-259.543,-91.8055,8.38,-233.813,-73.5535,16.26,-214.355,-60.1386,25.91,-204.234,-45.6871,34.54,-212.286,-65.9098,27.43,-182.104,-55.4231,34.8,-198.729,-40.786,34.8,-195.939,-31.846,34.54,-183.16,-43.615,38.61,-255.978,-94.9114,10.92,-232.719,-78.7419,18.29,-194.414,-59.4977,31.75,-210.018,-87.7627,17.02,-173.802,-81.3496,22.35,-232.505,-82.3319,17.27,-227.551,-87.0784,10.16,-142.74,-72.4613,35.05,-143.683,-62.4388,43.18,-138.15,-32.564,49.28,-178.77,-42.956,40.39,-172.235,-25.658,40.13,-170.146,-12.837,36.58,-139.483,-8.75201,42.67,-97.476,-27.796,51.05,-107.292,-1.744,46.23,-53.209,-30.945,51.05,-58.289,-12.145,48.01,-8.248,-30.695,49.02,-10.278,-7.065,46.23,45.091,-40.085,44.7,45.601,-13.165,43.94,103.132,-41.349,28.45,104.428,-16.842,33.02,140.785,-48.174,21.84,142.888,-23.631,23.37,168.47,-48.4858,14.22,170.176,-33.299,13.97,186.651,-50.2548,10.67,190.176,-37.899,9.91,214.231,-39.981,18.29,-104.494,-60.0859,41.15,-51.679,-64.9852,37.59,-13.839,-62.9452,38.1,34.421,-65.4852,30.99,99.745,-62.3666,17.27,142.447,-66.0489,9.65,166.932,-61.2393,7.11,197.22,-60.0188,5.59,211.268,-58.5942,11.94,-118.661,-77.4442,71.37,-117.672,-75.6501,73.66,-94.723,-69.5026,64.52,-72.446,-80.8209,77.22,-106.888,-79.097,80.01,-86.848,-81.8791,80.77,-253.698,-98.1512,7.87,-267.711,-104.131,4.57,267.577,-60.039,63.25,240.739,-63.0053,73.15,276.929,-62.7435,86.61,228.522,-45.796,16.51,244.778,-49.169,9.65,256.002,-49.7235,5.84,214.954,-43.007,24.13,-273.699,-96.4893,3.81,-272.346,-101.699,4.83,-106.621,-80.9666,78.23,-86.704,-82.7284,79.25,223.725,-56.5192,52.32,223.876,-60.9112,52.32,240.934,-65.579,73.15,261.158,-54.7995,21.59,-44.9192,38.3501,-8.13,-50.2492,39.11,0,-11.6492,73.9101,0,-4.0292,72.64,-6.1,21.3708,89.91,0,24.6808,86.8701,-3.56,52.8709,92.2,0,54.6509,87.88,-1.27,70.9009,87.3701,0,53.3809,28.7,-9.91,52.8709,46.7301,0,63.5409,21.84,0,13.7508,36.57,-11.68,28.7409,57.9101,-6.1,39.4109,69.59,-3.56,-214.37,-9.709,0,-221.846,-15.5239,-7.62,-227.869,-17.5109,0,-193.31,0.150703,0,-198.687,-4.8381,-13.97,-170.04,8.4533,-5.33,-164.363,11.8894,0,-127.722,27.055,0,-129.905,21.3163,-18.29,-169.621,6.2233,-13.97,-85.1861,39.428,0,-86.6881,34.2794,-22.35,-47.9692,23.37,-24.64,10.2008,21.84,-26.67,66.3309,9.9,-20.32,114.118,6.9605,-11.68,113.16,11.0842,0,148.859,8.9437,0,152.678,-2.121,-14.73,171.384,11.0823,0,179.82,-2.1085,-11.94,193.495,15.4768,0,203.488,4.9549,-7.87,211.83,20.1639,0,219.173,14.9779,-9.65,230.069,18.5903,0,226.759,13.5161,-7.37,-173.623,0.75,-22.35,-158.647,-4.5872,-32.77,-126.869,6.3294,-29.97,-89.1395,15.6575,-32,-47.9692,5.59,-35.81,2.5808,4.32,-34.04,63.0309,-3.56,-28.45,115.172,-0.560097,-18.29,-172.989,-14.1689,-36.58,-182.241,-10.0034,-31.75,-191.431,-14.7299,-27.43,-211.956,-26.2349,-20.83,-230.148,-35.2539,-10.16,-173.382,-24.3299,-35.81,-182.72,-17.2579,-30.99,-234.379,-41.8749,-13.97,-230.824,-53.2509,-14.99,-265.323,-65.7619,-7.37,-269.53,-61.7589,-7.37,-275.743,-63.4989,-4.06,-276.428,-61.6079,0,-241.975,-40.6069,0,-238.483,-39.3919,-5.08,-196.064,-27.6559,-30.48,-186.752,-22.1789,-30.73,-195.882,-30.6309,-30.73,-210.254,-31.0309,-26.42,-208.666,-37.1109,-25.91,-228.288,-58.0969,-16.26,-259.342,-69.0049,-8.38,-205.474,-49.5209,-25.91,-192.292,-37.5079,-34.54,-171.859,-51.2809,-34.8,-204.62,-55.6069,-27.43,-185.84,-33.7959,-34.8,-181.365,-25.5569,-34.54,-170.829,-39.4709,-38.61,-228.423,-63.4019,-18.29,-256.516,-72.9869,-10.92,-207.002,-77.4509,-17.02,-185.127,-52.9949,-31.75,-167.84,-78.2769,-22.35,-225.091,-72.7539,-10.16,-229.071,-66.9399,-17.27,-133.553,-64.2139,-43.18,-133.918,-74.2739,-35.05,-166.314,-39.5879,-40.39,-124.082,-35.2919,-49.28,-156.943,-23.6179,-40.13,-152.864,-11.2916,-36.58,-122.497,-11.4953,-42.67,-90.4839,-7.8107,-46.23,-82.8456,-34.5569,-51.05,-43.3992,-26.1599,-48.01,-38.3192,-44.9599,-51.05,4.6108,-21.0799,-46.23,6.6408,-44.7099,-49.02,60.4909,-27.1799,-43.94,59.9809,-54.0999,-44.7,117.636,-21.7149,-33.02,120.947,-46.0389,-28.45,155.384,-17.5349,-23.37,162.792,-41.0489,-21.84,183.998,-13.9029,-13.97,190.265,-27.8559,-14.22,203.392,-6.2522,-9.91,207.767,-18.3949,-10.67,223.159,8.3645,-18.29,-92.6284,-66.1809,-41.15,-36.7892,-78.9999,-37.59,1.0508,-76.9599,-38.1,49.3109,-79.4999,-30.99,121.1,-67.3769,-17.27,171.837,-56.7449,-9.65,195.473,-39.6469,-7.11,223.047,-18.8189,-5.59,233.698,-7.2368,-11.94,-107.939,-68.9429,-73.66,-109.174,-70.6239,-71.37,-83.1762,-64.8699,-64.52,-60.2597,-77.5359,-77.22,-75.7239,-77.7709,-80.77,-96.8564,-73.4239,-80.01,-40.3492,-92.1999,0,-92.7342,-82.1339,0,47.0309,-90.4299,0,127.717,-69.1159,0,196.054,-44.1779,0,225.241,-19.1009,0,-163.77,-81.8899,0,-125.906,-82.9039,0,-199.76,-82.4539,0,-222.9,-75.5739,0,-252.398,-79.0009,0,-255.032,-76.7379,-7.87,-274.414,-79.7719,0,-271.253,-78.5029,-4.57,277.433,48.8188,-86.61,258.132,14.5177,-73.15,270.88,41.0393,-63.25,249.887,26.3978,-9.65,237.134,15.1495,-16.51,242.456,21.535,0,256.63,35.8549,-5.84,251.355,28.045,0,225.737,6.7142,-24.13,-275.222,-69.4079,-3.81,-275.637,-68.9829,0,-275.351,-74.7999,-4.83,-277.432,-74.8429,0,-75.6284,-78.6279,-79.25,-96.7464,-75.3099,-78.23,62.2709,67.56,0,73.9509,79.25,0,2.8308,-88.6499,0,169.884,-59.9439,0,236.499,-6.5329,0,260.278,13.1461,-73.15,244.946,1.2884,-52.32,241.616,4.1116,-52.32,263.392,37.7359,-21.59,-167.924,10.7602,0,-4.0292,72.64,6.1,-44.9192,38.3501,8.13,24.6808,86.8701,3.56,54.6509,87.88,1.27,53.3809,28.7,9.91,28.7409,57.9101,6.1,13.7508,36.57,11.68,39.4109,69.59,3.56,-221.846,-15.5239,7.62,-198.687,-4.8381,13.97,-170.04,8.4533,5.33,-169.621,6.2233,13.97,-129.905,21.3163,18.29,-86.6881,34.2794,22.35,-47.9692,23.37,24.64,10.2008,21.84,26.67,66.3309,9.9,20.32,114.118,6.9605,11.68,152.678,-2.121,14.73,179.82,-2.1085,11.94,203.488,4.9549,7.87,219.173,14.9779,9.65,226.759,13.5161,7.37,-173.623,0.75,22.35,-158.647,-4.5872,32.77,-126.869,6.3294,29.97,-89.1395,15.6575,32,-47.9692,5.59,35.81,2.5808,4.32,34.04,63.0309,-3.56,28.45,115.172,-0.560097,18.29,-182.241,-10.0034,31.75,-172.989,-14.1689,36.58,-191.431,-14.7299,27.43,-211.956,-26.2349,20.83,-230.148,-35.2539,10.16,-182.72,-17.2579,30.99,-173.382,-24.3299,35.81,-234.379,-41.8749,13.97,-269.53,-61.7589,7.37,-265.323,-65.7619,7.37,-230.824,-53.2509,14.99,-238.483,-39.3919,5.08,-275.743,-63.4989,4.06,-195.882,-30.6309,30.73,-186.752,-22.1789,30.73,-196.064,-27.6559,30.48,-210.254,-31.0309,26.42,-208.666,-37.1109,25.91,-259.342,-69.0049,8.38,-228.288,-58.0969,16.26,-205.474,-49.5209,25.91,-192.292,-37.5079,34.54,-204.62,-55.6069,27.43,-171.859,-51.2809,34.8,-185.84,-33.7959,34.8,-181.365,-25.5569,34.54,-170.829,-39.4709,38.61,-256.516,-72.9869,10.92,-228.423,-63.4019,18.29,-185.127,-52.9949,31.75,-207.002,-77.4509,17.02,-167.84,-78.2769,22.35,-229.071,-66.9399,17.27,-225.091,-72.7539,10.16,-133.918,-74.2739,35.05,-133.553,-64.2139,43.18,-124.082,-35.2919,49.28,-166.314,-39.5879,40.39,-156.943,-23.6179,40.13,-152.864,-11.2916,36.58,-122.497,-11.4953,42.67,-82.8456,-34.5569,51.05,-90.4839,-7.8107,46.23,-38.3192,-44.9599,51.05,-43.3992,-26.1599,48.01,6.6408,-44.7099,49.02,4.6108,-21.0799,46.23,59.9809,-54.0999,44.7,60.4909,-27.1799,43.94,120.947,-46.0389,28.45,117.636,-21.7149,33.02,162.792,-41.0489,21.84,155.384,-17.5349,23.37,190.265,-27.8559,14.22,183.998,-13.9029,13.97,207.767,-18.3949,10.67,203.392,-6.2522,9.91,223.159,8.3645,18.29,-92.6284,-66.1809,41.15,-36.7892,-78.9999,37.59,1.0508,-76.9599,38.1,49.3109,-79.4999,30.99,121.1,-67.3769,17.27,171.837,-56.7449,9.65,195.473,-39.6469,7.11,223.047,-18.8189,5.59,233.698,-7.2368,11.94,-109.174,-70.6239,71.37,-107.939,-68.9429,73.66,-83.1762,-64.8699,64.52,-60.2597,-77.5359,77.22,-96.8564,-73.4239,80.01,-75.7239,-77.7709,80.77,-255.032,-76.7379,7.87,-271.253,-78.5029,4.57,270.88,41.0393,63.25,258.132,14.5177,73.15,277.433,48.8188,86.61,237.134,15.1495,16.51,249.887,26.3978,9.65,256.63,35.8549,5.84,225.737,6.7142,24.13,-275.222,-69.4079,3.81,-275.351,-74.7999,4.83,-96.7464,-75.3099,78.23,-75.6284,-78.6279,79.25,241.616,4.1116,52.32,244.946,1.2884,52.32,260.278,13.1461,73.15,263.392,37.7359,21.59])))
        .addChild(x3dpsail.ROUTE().setFromNode(x3dpsail.SFString("ci")).setFromField(x3dpsail.SFString("value_changed")).setToNode(x3dpsail.SFString("pointList")).setToField(x3dpsail.SFString("set_point")))
        .addChild(x3dpsail.ROUTE().setFromNode(x3dpsail.SFString("si")).setFromField(x3dpsail.SFString("value_changed")).setToNode(x3dpsail.SFString("ci")).setToField(x3dpsail.SFString("set_fraction")))
        .addChild(x3dpsail.ROUTE().setFromNode(x3dpsail.SFString("ts")).setFromField(x3dpsail.SFString("fraction_changed")).setToNode(x3dpsail.SFString("si")).setToField(x3dpsail.SFString("set_fraction")))))

X3D0.toFileX3D("./future/./flipper_RoundTrip.x3d")
Ejemplo n.º 4
0
X3D0 = (x3dpsail.X3D().setProfile(x3dpsail.SFString("Immersive")).setVersion(x3dpsail.SFString("3.3"))
      .setHead(x3dpsail.head()
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("title")).setContent(x3dpsail.SFString("x3dconnectorProto")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("creator")).setContent(x3dpsail.SFString("Lost, Doug Sanden I think")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("generator")).setContent(x3dpsail.SFString("manual")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("identifier")).setContent(x3dpsail.SFString("https://coderextreme.net/X3DJSONLD/x3dconnectorProto.x3d")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("description")).setContent(x3dpsail.SFString("a generic proto to connect two objects"))))
      .setScene(x3dpsail.Scene()
        .addChild(x3dpsail.Viewpoint().setPosition(x3dpsail.SFVec3f(0,0,5)).setDescription(x3dpsail.SFString("Only Viewpoint")))
        .addChild(x3dpsail.Background().setSkyColor(x3dpsail.MFColor([0.4,0.4,0.4])))
        .addChild(x3dpsail.Transform().setDEF(x3dpsail.SFString("DECLpoint_G1_node"))
          .addChild(x3dpsail.Shape()
            .setGeometry(x3dpsail.Sphere().setRadius(x3dpsail.SFFloat(0.1)))
            .setAppearance(x3dpsail.Appearance()
              .setMaterial(x3dpsail.Material().setDiffuseColor(x3dpsail.SFColor(1,0,0)))))
          .addChild(x3dpsail.PositionInterpolator().setDEF(x3dpsail.SFString("DECLpoint_G1_PI1")).setKey(x3dpsail.MFFloat([0,1])).setKeyValue(x3dpsail.MFVec3f([0,0,0,0,5,0])))
          .addChild(x3dpsail.Script().setDEF(x3dpsail.SFString("DECLpoint_G1_MB1"))
            .addField(x3dpsail.field().setName(x3dpsail.SFString("translation")).setAccessType(x3dpsail.SFString("inputOutput")).setType(x3dpsail.SFString("SFVec3f")).setValue(x3dpsail.SFString("0 0 0")))
            .addField(x3dpsail.field().setName(x3dpsail.SFString("old")).setAccessType(x3dpsail.SFString("inputOutput")).setType(x3dpsail.SFString("SFVec3f")).setValue(x3dpsail.SFString("0 0 0")))
            .addField(x3dpsail.field().setName(x3dpsail.SFString("set_location")).setAccessType(x3dpsail.SFString("inputOnly")).setType(x3dpsail.SFString("SFTime")))
            .addField(x3dpsail.field().setName(x3dpsail.SFString("keyValue")).setAccessType(x3dpsail.SFString("inputOutput")).setType(x3dpsail.SFString("MFVec3f")).setValue(x3dpsail.SFString("0 0 0 0 5 0"))).setSourceCode('''ecmascript:\n"+
"		function set_location(value) {\n"+
"                    old = translation;\n"+
"		    translation = new SFVec3f(Math.random()*10-5, Math.random()*10-5, Math.random()*10-5);\n"+
"                    keyValue = new MFVec3f([old, translation]);\n"+
"		    // Browser.println(keyValue);\n"+
"		}''')
)
          .addChild(x3dpsail.TimeSensor().setDEF(x3dpsail.SFString("DECLpoint_G1_CL1")).setCycleInterval(x3dpsail.SFTime(3)).setLoop(x3dpsail.SFBool(True)))
          .addChild(x3dpsail.ROUTE().setFromNode(x3dpsail.SFString("DECLpoint_G1_CL1")).setFromField(x3dpsail.SFString("cycleTime")).setToNode(x3dpsail.SFString("DECLpoint_G1_MB1")).setToField(x3dpsail.SFString("set_location")))
          .addChild(x3dpsail.ROUTE().setFromNode(x3dpsail.SFString("DECLpoint_G1_CL1")).setFromField(x3dpsail.SFString("fraction_changed")).setToNode(x3dpsail.SFString("DECLpoint_G1_PI1")).setToField(x3dpsail.SFString("set_fraction")))
Ejemplo n.º 5
0
    )
)).addMeta(x3dpsail.meta().setName(x3dpsail.SFString("generator")).setContent(
    x3dpsail.SFString("X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit")
)).addMeta(x3dpsail.meta().setName(x3dpsail.SFString("license")).setContent(
    x3dpsail.SFString("../license.html")))).setScene(x3dpsail.Scene().addChild(
        x3dpsail.Viewpoint().setDescription(
            x3dpsail.SFString("Extrusion Heart")).setOrientation(
                x3dpsail.SFRotation(1, 0, 0, 1.57)).setPosition(
                    x3dpsail.SFVec3f(0, -4, 0))
    ).addChild(x3dpsail.Transform().setTranslation(x3dpsail.SFVec3f(
        0, -0.5, 0)).addChild(
            x3dpsail.Shape().setGeometry(x3dpsail.Extrusion().setCreaseAngle(
                x3dpsail.SFFloat(3.14159)).setCrossSection(
                    x3dpsail.MFVec2f([
                        0, 0.8, 0.2, 1, 0.7, 0.95, 1, 0.5, 0.8, 0, 0.5, -0.3,
                        0, -0.7, -0.5, -0.3, -0.8, 0, -1, 0.5, -0.7, 0.95,
                        -0.2, 1, 0, 0.8
                    ])).setScale(
                        x3dpsail.MFVec2f([
                            0.01, 0.01, 0.8, 0.8, 1, 1, 0.8, 0.8, 0.01, 0.01
                        ])).setSolid(x3dpsail.SFBool(False)).setSpine(
                            x3dpsail.MFVec3f([
                                0, 0, 0, 0, 0.1, 0, 0, 0.5, 0, 0, 0.9, 0, 0, 1,
                                0
                            ]))).setAppearance(
                                x3dpsail.Appearance().setMaterial(
                                    x3dpsail.Material().setDiffuseColor(
                                        x3dpsail.SFColor(0.8, 0.3, 0.3))))))))

X3D0.toFileX3D("./future/./ExtrusionHeart_RoundTrip.x3d")
Ejemplo n.º 6
0
                 x3dpsail.SFString("value_changed")).setFromNode(
                     x3dpsail.SFString("Spinner")).setToField(
                         x3dpsail.SFString("rotation")).setToNode(
                             x3dpsail.SFString("TransformExampleUSE"))).
             addChild(x3dpsail.Inline(
             ).setDEF(x3dpsail.SFString("someInline")).setUrl(
                 x3dpsail.MFString([
                     "someUrl.x3d",
                     "http://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/someUrl.x3d"
                 ]))).addChild(x3dpsail.IMPORT().setAS(
                     x3dpsail.SFString("someInlineRoot")).setImportedDEF(
                         x3dpsail.SFString("someName")).setInlineDEF(
                             x3dpsail.SFString("someInline"))).addChild(
                                 x3dpsail.PositionInterpolator().setDEF(
                                     x3dpsail.SFString("StayInPlace")).setKey(
                                         x3dpsail.MFFloat([0, 1])).setKeyValue(
                                             x3dpsail.MFVec3f(
                                                 [0, 0, 0, 0, 0, 0]))).
             addChild(x3dpsail.ROUTE().setFromField(
                 x3dpsail.SFString("fraction_changed")).setFromNode(
                     x3dpsail.SFString("Clock")).setToField(
                         x3dpsail.SFString("set_fraction")).setToNode(
                             x3dpsail.SFString("StayInPlace"))).
             addChild(x3dpsail.ROUTE().setFromField(
                 x3dpsail.SFString("value_changed")).setFromNode(
                     x3dpsail.SFString("StayInPlace")).setToField(
                         x3dpsail.SFString("set_translation")).setToNode(
                             x3dpsail.SFString("someInlineRoot")))))

X3D0.toFileX3D("./future/./X3dHeaderPrototypeSyntaxExamples_RoundTrip.x3d")
Ejemplo n.º 7
0
 ).setType(x3dpsail.SFString(
     "FRAGMENT"
 ))))))).addChild(x3dpsail.TimeSensor().setDEF(x3dpsail.SFString(
     "TourTime"
 )).setCycleInterval(x3dpsail.SFTime(
     5
 )).setLoop(x3dpsail.SFBool(
     True
 ))).addChild(x3dpsail.PositionInterpolator().setDEF(
     x3dpsail.
     SFString("TourPosition")
 ).setKey(x3dpsail.MFFloat([
     0, 1
 ])).setKeyValue(x3dpsail.MFVec3f([
     0,
     0, 10, 0,
     0, -10
 ]))).addChild(x3dpsail.OrientationInterpolator().setDEF(
     x3dpsail.SFString("TourOrientation")
 ).setKey(x3dpsail.MFFloat([
     0, 1
 ])).setKeyValue(x3dpsail.MFRotation([
     0, 1,
     0, 0,
     0, 1,
     0, 3.1416
 ]))).addChild(x3dpsail.Script().setDEF(
     x3dpsail.SFString("RandomTourTime")
 ).addField(x3dpsail.field().setName(
     x3dpsail.SFString("set_cycle")
 ).setAccessType(
Ejemplo n.º 8
0
                x3dpsail.SFString("John Carlson"))).addMeta(
                    x3dpsail.meta().setName(
                        x3dpsail.SFString("created")).setContent(
                            x3dpsail.SFString("4 April 2017")))).
        setScene(x3dpsail.Scene().addChild(x3dpsail.Group().addChild(
            x3dpsail.Shape().setGeometry(x3dpsail.IndexedFaceSet().setDEF(
                x3dpsail.SFString("IndexedFaceSet")).setCoordIndex(
                    x3dpsail.MFInt32([
                        0, 0, 1, -1, 0, 1, 1, -1, 2, 2, 3, 3, -1, 0, 3, 3, 0,
                        -1, 0, 3, 2, 1, -1, 1, 2, 2, 1, -1, 1, 2, 3, 0, -1
                    ])).setNormalIndex(x3dpsail.MFInt32(
                        [0, 0, 1, 2, 3, 4, 5])).setNormalPerVertex(
                            x3dpsail.SFBool(False)).setColorIndex(
                                x3dpsail.MFInt32([
                                    0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, -1,
                                    0, 0, 0, 0, -1, 0, 0, 0, 0, -1, 0, 0, 0, 0,
                                    -1, 0, 0, 0, 0, -1
                                ])).setCoord(x3dpsail.Coordinate().setPoint(
                                    x3dpsail.MFVec3f([
                                        0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1
                                    ]))).setNormal(x3dpsail.Normal().setVector(
                                        x3dpsail.MFVec3f([
                                            1, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0,
                                            -1, 0, -1, 0, 0, 0, 1
                                        ]))).setColor(
                                            x3dpsail.Color().setColor(
                                                x3dpsail.MFColor([0, 1,
                                                                  0]))))))))

X3D0.toFileX3D("./future/./ifscubeworks_RoundTrip.x3d")
Ejemplo n.º 9
0
import x3dpsail


X3D0 = (x3dpsail.X3D().setProfile(x3dpsail.SFString("Immersive")).setVersion(x3dpsail.SFString("3.3"))
      .setHead(x3dpsail.head()
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("creator")).setContent(x3dpsail.SFString("John W Carlson")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("created")).setContent(x3dpsail.SFString("December 13 2015")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("title")).setContent(x3dpsail.SFString("force.x3d")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("identifier")).setContent(x3dpsail.SFString("https://coderextreme.net/X3DJSONLD/force.x3d")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("description")).setContent(x3dpsail.SFString("beginnings of a force directed graph in 3D")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("generator")).setContent(x3dpsail.SFString("Vim, X3D-Edit, https://savage.nps.edu/X3D-Edit"))))
      .setScene(x3dpsail.Scene()
        .addChild(x3dpsail.Group()
          .addChild(x3dpsail.Shape()
            .setGeometry(x3dpsail.Extrusion().setDEF(x3dpsail.SFString("extrusion")).setSpine(x3dpsail.MFVec3f([-50,-50,0,50,50,0])).setCreaseAngle(x3dpsail.SFFloat(0.785)).setCrossSection(x3dpsail.MFVec2f([1,0,0.92,-0.38,0.71,-0.71,0.38,-0.92,0,-1,-0.38,-0.92,-0.71,-0.71,-0.92,-0.38,-1,0,-0.92,0.38,-0.71,0.71,-0.38,0.92,0,1,0.38,0.92,0.71,0.71,0.92,0.38,1,0])))
            .setAppearance(x3dpsail.Appearance()
              .setMaterial(x3dpsail.Material().setDiffuseColor(x3dpsail.SFColor(0,1,0)))))
          .addChild(x3dpsail.TimeSensor().setDEF(x3dpsail.SFString("TourTime")).setLoop(x3dpsail.SFBool(True)))
          .addChild(x3dpsail.Script().setDEF(x3dpsail.SFString("MoveCylinder"))
            .addField(x3dpsail.field().setName(x3dpsail.SFString("set_cycle")).setAccessType(x3dpsail.SFString("inputOnly")).setType(x3dpsail.SFString("SFTime")))
            .addField(x3dpsail.field().setName(x3dpsail.SFString("spine")).setAccessType(x3dpsail.SFString("inputOutput")).setType(x3dpsail.SFString("MFVec3f")).setValue(x3dpsail.SFString("-50 -50 0 50 50 0"))).setSourceCode('''ecmascript:\n"+
"\n"+
"                function set_cycle(value) {\n"+
"                        Browser.print(value);\n"+
"                        var endA = new SFVec3f(spine[0].x*Math.random()*2, spine[0].y*Math.random()*2, spine[0].z*Math.random()*2);\n"+
"                        var endB = new SFVec3f(spine[1].x*Math.random()*2, spine[1].y*Math.random()*2, spine[1].z*Math.random()*2);\n"+
"		        spine = new MFVec3f([endA, endB]);\n"+
"                }''')
)
          .addChild(x3dpsail.ROUTE().setFromNode(x3dpsail.SFString("TourTime")).setFromField(x3dpsail.SFString("cycleTime")).setToNode(x3dpsail.SFString("MoveCylinder")).setToField(x3dpsail.SFString("set_cycle")))
          .addChild(x3dpsail.ROUTE().setFromNode(x3dpsail.SFString("MoveCylinder")).setFromField(x3dpsail.SFString("spine_changed")).setToNode(x3dpsail.SFString("extrusion")).setToField(x3dpsail.SFString("spine"))))))
Ejemplo n.º 10
0
        .addChild(x3dpsail.Viewpoint().setDEF(x3dpsail.SFString("CameraShapeView")).setDescription(x3dpsail.SFString("Camera view, over the shoulder")).setPosition(x3dpsail.SFVec3f(0,0.75,3)))
        .addChild(x3dpsail.Viewpoint().setDescription(x3dpsail.SFString("Camera view through lens")).setPosition(x3dpsail.SFVec3f(0,0,0)))
        .addChild(x3dpsail.Viewpoint().setDescription(x3dpsail.SFString("Camera view from right side")).setOrientation(x3dpsail.SFRotation(0,1,0,1.5708)).setPosition(x3dpsail.SFVec3f(12,0,-4)))
        .addChild(x3dpsail.Viewpoint().setDescription(x3dpsail.SFString("Camera view from above")).setOrientation(x3dpsail.SFRotation(1,0,0,-1.5708)).setPosition(x3dpsail.SFVec3f(0,15,-5)))
        .addChild(x3dpsail.Viewpoint().setDescription(x3dpsail.SFString("Camera view from left side")).setOrientation(x3dpsail.SFRotation(0,1,0,-1.5708)).setPosition(x3dpsail.SFVec3f(-12,0,-4)))
        .addChild(x3dpsail.Transform().setScale(x3dpsail.SFVec3f(0.1,0.1,0.1)).setTranslation(x3dpsail.SFVec3f(0,-0.165,0.02))
          .addChild(x3dpsail.Switch().setWhichChoice(x3dpsail.SFInt32(-1))
            .addChild(x3dpsail.Shape()
              .setAppearance(x3dpsail.Appearance().setDEF(x3dpsail.SFString("CameraAppearance"))
                .setMaterial(x3dpsail.Material().setDEF(x3dpsail.SFString("lambert1_0")).setAmbientIntensity(x3dpsail.SFFloat(0.25)).setDiffuseColor(x3dpsail.SFColor(0.372322,0.371574,0.373173)).setShininess(x3dpsail.SFFloat(0.02)).setSpecularColor(x3dpsail.SFColor(0.890909,0.887832,0.890909))
                  #Universal Media Library: Metals 30

                  )))
            .addChild(x3dpsail.Shape()
              .setGeometry(x3dpsail.IndexedFaceSet().setDEF(x3dpsail.SFString("pCylinder1_0Geo")).setConvex(x3dpsail.SFBool(False)).setCoordIndex(x3dpsail.MFInt32([0,1,13,12,-1,1,2,14,13,-1,2,3,15,14,-1,3,4,16,15,-1,4,5,17,16,-1,5,6,18,17,-1,6,7,19,18,-1,7,8,20,19,-1,8,9,21,20,-1,9,10,22,21,-1,10,11,23,22,-1,11,0,12,23,-1,1,0,24,-1,2,1,24,-1,3,2,24,-1,4,3,24,-1,5,4,24,-1,6,5,24,-1,7,6,24,-1,8,7,24,-1,9,8,24,-1,10,9,24,-1,11,10,24,-1,0,11,24,-1,12,13,25,-1,13,14,25,-1,14,15,25,-1,15,16,25,-1,16,17,25,-1,17,18,25,-1,18,19,25,-1,19,20,25,-1,20,21,25,-1,21,22,25,-1,22,23,25,-1,23,12,25,-1])).setCreaseAngle(x3dpsail.SFFloat(0.7854))
                .setCoord(x3dpsail.Coordinate().setDEF(x3dpsail.SFString("pCylinder1GeoPoints")).setPoint(x3dpsail.MFVec3f([-0.36,-2.39,-0.26,-0.36,-1.77,-0.89,-0.36,0,-1.7,-0.36,0.85,-1.47,-0.36,1.47,-0.85,-0.36,1.7,0,-0.36,1.47,0.85,-0.36,-0.07,2.05,-0.36,-0.92,2.28,-0.36,-1.77,2.05,-0.36,-2.39,1.43,-0.36,-2.62,0.58,0.36,-2.39,-0.26,0.36,-1.77,-0.89,0.36,0,-1.7,0.36,0.85,-1.47,0.36,1.47,-0.85,0.36,1.7,0,0.36,1.47,0.85,0.36,-0.07,2.05,0.36,-0.92,2.28,0.36,-1.77,2.05,0.36,-2.39,1.43,0.36,-2.62,0.58,-0.36,-0.46,0.31,0.36,-0.46,0.31]))))
              .setAppearance(x3dpsail.Appearance().setUSE(x3dpsail.SFString("CameraAppearance"))))
            .addChild(x3dpsail.Shape()
              .setGeometry(x3dpsail.IndexedFaceSet().setDEF(x3dpsail.SFString("pCube1_0Geo")).setConvex(x3dpsail.SFBool(False)).setCoordIndex(x3dpsail.MFInt32([0,1,13,12,-1,2,3,25,24,-1,4,5,11,10,-1,6,7,19,18,-1,1,29,31,13,-1,6,18,23,14,-1,8,9,3,2,-1,10,11,15,14,-1,9,30,25,3,-1,10,21,16,4,-1,12,13,9,8,-1,13,31,30,9,-1,14,23,21,10,-1,14,15,7,6,-1,16,17,5,4,-1,18,19,29,28,-1,22,19,7,15,-1,23,18,28,27,-1,17,20,11,5,-1,16,21,26,24,-1,20,22,15,11,-1,21,23,27,26,-1,24,25,17,16,-1,31,29,19,22,-1,25,30,20,17,-1,30,31,22,20,-1,28,29,1,0,-1,27,28,0,12,-1,24,26,8,2,-1,26,27,12,8,-1])).setCreaseAngle(x3dpsail.SFFloat(0.7854))
                .setCoord(x3dpsail.Coordinate().setDEF(x3dpsail.SFString("pCube1GeoPoints")).setPoint(x3dpsail.MFVec3f([-1.03,-1.26,3,1.03,-1.26,3,-1.03,1.74,3,1.03,1.74,3,-0.78,1.21,-3,0.78,1.21,-3,-0.78,-1.3,-3,0.78,-1.3,-3,-1.03,0.27,3,1.03,0.27,3,-0.78,0.27,-3.43,0.78,0.27,-3.43,-1.03,-0.99,3,1.03,-0.99,3,-0.78,-1.05,-3.43,0.78,-1.05,-3.43,-0.79,1.56,-2.76,0.79,1.56,-2.76,-0.79,-1.56,-2.76,0.79,-1.56,-2.76,1.13,0.27,-2.76,-1.13,0.27,-2.76,1.13,-1.31,-2.76,-1.13,-1.31,-2.76,-1.02,1.73,2.69,1.02,1.73,2.69,-1.36,0.27,2.69,-1.36,-1.45,2.69,-1.02,-1.73,2.69,1.02,-1.73,2.69,1.36,0.27,2.69,1.36,-1.45,2.69]))))
              .setAppearance(x3dpsail.Appearance().setUSE(x3dpsail.SFString("CameraAppearance"))))
            .addChild(x3dpsail.Shape()
              .setGeometry(x3dpsail.IndexedFaceSet().setDEF(x3dpsail.SFString("pPipe1_0Geo")).setConvex(x3dpsail.SFBool(False)).setCoordIndex(x3dpsail.MFInt32([1,0,144,145,-1,2,1,145,146,-1,3,2,146,147,-1,4,3,147,148,-1,5,4,148,149,-1,6,5,149,150,-1,7,6,150,151,-1,8,7,151,152,-1,9,8,152,153,-1,10,9,153,154,-1,11,10,154,155,-1,0,11,155,144,-1,13,12,24,25,-1,14,13,25,26,-1,15,14,26,27,-1,16,15,27,28,-1,17,16,28,29,-1,18,17,29,30,-1,19,18,30,31,-1,20,19,31,32,-1,21,20,32,33,-1,22,21,33,34,-1,23,22,34,35,-1,12,23,35,24,-1,25,24,36,37,-1,26,25,37,38,-1,27,26,38,39,-1,28,27,39,40,-1,29,28,40,41,-1,30,29,41,42,-1,31,30,42,43,-1,32,31,43,44,-1,33,32,44,45,-1,34,33,45,46,-1,35,34,46,47,-1,24,35,47,36,-1,37,36,84,85,-1,38,37,85,86,-1,39,38,86,87,-1,40,39,87,88,-1,41,40,88,89,-1,42,41,89,90,-1,43,42,90,91,-1,44,43,91,92,-1,45,44,92,93,-1,46,45,93,94,-1,47,46,94,95,-1,36,47,95,84,-1,49,48,60,61,-1,50,49,61,62,-1,51,50,62,63,-1,52,51,63,64,-1,53,52,64,65,-1,54,53,65,66,-1,55,54,66,67,-1,56,55,67,68,-1,57,56,68,69,-1,58,57,69,70,-1,59,58,70,71,-1,48,59,71,60,-1,61,60,0,1,-1,62,61,1,2,-1,63,62,2,3,-1,64,63,3,4,-1,65,64,4,5,-1,66,65,5,6,-1,67,66,6,7,-1,68,67,7,8,-1,69,68,8,9,-1,70,69,9,10,-1,71,70,10,11,-1,60,71,11,0,-1,73,72,12,13,-1,74,73,13,14,-1,75,74,14,15,-1,76,75,15,16,-1,77,76,16,17,-1,78,77,17,18,-1,79,78,18,19,-1,80,79,19,20,-1,81,80,20,21,-1,82,81,21,22,-1,83,82,22,23,-1,72,83,23,12,-1,85,84,108,109,-1,86,85,109,110,-1,87,86,110,111,-1,88,87,111,112,-1,89,88,112,113,-1,90,89,113,114,-1,91,90,114,115,-1,92,91,115,116,-1,93,92,116,117,-1,94,93,117,118,-1,95,94,118,119,-1,84,95,119,108,-1,97,96,72,73,-1,98,97,73,74,-1,99,98,74,75,-1,100,99,75,76,-1,101,100,76,77,-1,102,101,77,78,-1,103,102,78,79,-1,104,103,79,80,-1,105,104,80,81,-1,106,105,81,82,-1,107,106,82,83,-1,96,107,83,72,-1,109,108,132,133,-1,110,109,133,134,-1,111,110,134,135,-1,112,111,135,136,-1,113,112,136,137,-1,114,113,137,138,-1,115,114,138,139,-1,116,115,139,140,-1,117,116,140,141,-1,118,117,141,142,-1,119,118,142,143,-1,108,119,143,132,-1,121,120,96,97,-1,122,121,97,98,-1,123,122,98,99,-1,124,123,99,100,-1,125,124,100,101,-1,126,125,101,102,-1,127,126,102,103,-1,128,127,103,104,-1,129,128,104,105,-1,130,129,105,106,-1,131,130,106,107,-1,120,131,107,96,-1,133,132,168,169,-1,134,133,169,170,-1,135,134,170,171,-1,136,135,171,172,-1,137,136,172,173,-1,138,137,173,174,-1,139,138,174,175,-1,140,139,175,176,-1,141,140,176,177,-1,142,141,177,178,-1,143,142,178,179,-1,132,143,179,168,-1,145,144,180,181,-1,146,145,181,182,-1,147,146,182,183,-1,148,147,183,184,-1,149,148,184,185,-1,150,149,185,186,-1,151,150,186,187,-1,152,151,187,188,-1,153,152,188,189,-1,154,153,189,190,-1,155,154,190,191,-1,144,155,191,180,-1,157,156,48,49,-1,158,157,49,50,-1,159,158,50,51,-1,160,159,51,52,-1,161,160,52,53,-1,162,161,53,54,-1,163,162,54,55,-1,164,163,55,56,-1,165,164,56,57,-1,166,165,57,58,-1,167,166,58,59,-1,156,167,59,48,-1,169,168,156,157,-1,170,169,157,158,-1,171,170,158,159,-1,172,171,159,160,-1,173,172,160,161,-1,174,173,161,162,-1,175,174,162,163,-1,176,175,163,164,-1,177,176,164,165,-1,178,177,165,166,-1,179,178,166,167,-1,168,179,167,156,-1,181,180,120,121,-1,182,181,121,122,-1,183,182,122,123,-1,184,183,123,124,-1,185,184,124,125,-1,186,185,125,126,-1,187,186,126,127,-1,188,187,127,128,-1,189,188,128,129,-1,190,189,129,130,-1,191,190,130,131,-1,180,191,131,120,-1])).setCreaseAngle(x3dpsail.SFFloat(0.7854))
                .setCoord(x3dpsail.Coordinate().setDEF(x3dpsail.SFString("pPipe1GeoPoints")).setPoint(x3dpsail.MFVec3f([0.58,0,-1.44,0.5,0.3,-1.44,0.29,0.51,-1.44,0,0.59,-1.44,-0.29,0.51,-1.44,-0.5,0.3,-1.44,-0.58,0,-1.44,-0.5,-0.3,-1.44,-0.29,-0.51,-1.44,0,-0.59,-1.44,0.29,-0.51,-1.44,0.5,-0.3,-1.44,0.34,0,1.44,0.29,0.2,1.44,0.17,0.34,1.44,0,0.4,1.44,-0.17,0.34,1.44,-0.29,0.2,1.44,-0.34,0,1.44,-0.29,-0.2,1.44,-0.17,-0.34,1.44,0,-0.4,1.44,0.17,-0.34,1.44,0.29,-0.2,1.44,0.4,0,1.44,0.34,0.23,1.44,0.2,0.4,1.44,0,0.47,1.44,-0.2,0.4,1.44,-0.34,0.23,1.44,-0.4,0,1.44,-0.34,-0.23,1.44,-0.2,-0.4,1.44,0,-0.47,1.44,0.2,-0.4,1.44,0.34,-0.23,1.44,0.46,0,1.44,0.4,0.27,1.44,0.23,0.46,1.44,0,0.53,1.44,-0.23,0.46,1.44,-0.4,0.27,1.44,-0.46,0,1.44,-0.4,-0.27,1.44,-0.23,-0.46,1.44,0,-0.53,1.44,0.23,-0.46,1.44,0.4,-0.27,1.44,0.78,0,-1.44,0.68,0.4,-1.44,0.39,0.69,-1.44,0,0.8,-1.44,-0.39,0.69,-1.44,-0.68,0.4,-1.44,-0.78,0,-1.44,-0.68,-0.4,-1.44,-0.39,-0.69,-1.44,0,-0.8,-1.44,0.39,-0.69,-1.44,0.68,-0.4,-1.44,0.68,0,-1.44,0.59,0.35,-1.44,0.34,0.6,-1.44,0,0.69,-1.44,-0.34,0.6,-1.44,-0.59,0.35,-1.44,-0.68,0,-1.44,-0.59,-0.35,-1.44,-0.34,-0.6,-1.44,0,-0.69,-1.44,0.34,-0.6,-1.44,0.59,-0.35,-1.44,0.34,0,0.99,0.29,0.2,0.99,0.17,0.34,0.99,0,0.4,0.99,-0.17,0.34,0.99,-0.29,0.2,0.99,-0.34,0,0.99,-0.29,-0.2,0.99,-0.17,-0.34,0.99,0,-0.4,0.99,0.17,-0.34,0.99,0.29,-0.2,0.99,0.46,0,0.99,0.4,0.27,0.99,0.23,0.46,0.99,0,0.53,0.99,-0.23,0.46,0.99,-0.4,0.27,0.99,-0.46,0,0.99,-0.4,-0.27,0.99,-0.23,-0.46,0.99,0,-0.53,0.99,0.23,-0.46,0.99,0.4,-0.27,0.99,0.46,0,0.07,0.4,0.23,0.07,0.23,0.4,0.07,0,0.47,0.07,-0.23,0.4,0.07,-0.4,0.23,0.07,-0.46,0,0.07,-0.4,-0.23,0.07,-0.23,-0.4,0.07,0,-0.47,0.07,0.23,-0.4,0.07,0.4,-0.23,0.07,0.62,0,0.07,0.54,0.31,0.07,0.31,0.55,0.07,0,0.63,0.07,-0.31,0.55,0.07,-0.54,0.31,0.07,-0.62,0,0.07,-0.54,-0.31,0.07,-0.31,-0.55,0.07,0,-0.63,0.07,0.31,-0.55,0.07,0.54,-0.31,0.07,0.46,0,-0.08,0.4,0.23,-0.08,0.23,0.4,-0.08,0,0.47,-0.08,-0.23,0.4,-0.08,-0.4,0.23,-0.08,-0.46,0,-0.08,-0.4,-0.23,-0.08,-0.23,-0.4,-0.08,0,-0.47,-0.08,0.23,-0.4,-0.08,0.4,-0.23,-0.08,0.62,0,-0.08,0.54,0.31,-0.08,0.31,0.55,-0.08,0,0.63,-0.08,-0.31,0.55,-0.08,-0.54,0.31,-0.08,-0.62,0,-0.08,-0.54,-0.31,-0.08,-0.31,-0.55,-0.08,0,-0.63,-0.08,0.31,-0.55,-0.08,0.54,-0.31,-0.08,0.46,0,-1.19,0.4,0.23,-1.19,0.23,0.4,-1.19,0,0.47,-1.19,-0.23,0.4,-1.19,-0.4,0.23,-1.19,-0.46,0,-1.19,-0.4,-0.23,-1.19,-0.23,-0.4,-1.19,0,-0.47,-1.19,0.23,-0.4,-1.19,0.4,-0.23,-1.19,0.62,0,-1.19,0.54,0.31,-1.19,0.31,0.55,-1.19,0,0.63,-1.19,-0.31,0.55,-1.19,-0.54,0.31,-1.19,-0.62,0,-1.19,-0.54,-0.31,-1.19,-0.31,-0.55,-1.19,0,-0.63,-1.19,0.31,-0.55,-1.19,0.54,-0.31,-1.19,0.62,0,-0.98,0.54,0.31,-0.98,0.31,0.55,-0.98,0,0.63,-0.98,-0.31,0.55,-0.98,-0.54,0.31,-0.98,-0.62,0,-0.98,-0.54,-0.31,-0.98,-0.31,-0.55,-0.98,0,-0.63,-0.98,0.31,-0.55,-0.98,0.54,-0.31,-0.98,0.46,0,-0.98,0.4,0.23,-0.98,0.23,0.4,-0.98,0,0.47,-0.98,-0.23,0.4,-0.98,-0.4,0.23,-0.98,-0.46,0,-0.98,-0.4,-0.23,-0.98,-0.23,-0.4,-0.98,0,-0.47,-0.98,0.23,-0.4,-0.98,0.4,-0.23,-0.98]))))
              .setAppearance(x3dpsail.Appearance().setUSE(x3dpsail.SFString("CameraAppearance"))))
            .addChild(x3dpsail.Shape()
              .setGeometry(x3dpsail.IndexedFaceSet().setDEF(x3dpsail.SFString("pSphere1_0Geo")).setConvex(x3dpsail.SFBool(False)).setCoordIndex(x3dpsail.MFInt32([0,1,12,11,-1,1,2,13,12,-1,2,3,14,13,-1,3,4,15,14,-1,4,5,16,15,-1,5,6,17,16,-1,6,7,18,17,-1,7,8,19,18,-1,8,9,20,19,-1,10,0,11,21,-1,11,12,23,22,-1,12,13,24,23,-1,13,14,25,24,-1,14,15,26,25,-1,15,16,27,26,-1,16,17,28,27,-1,17,18,29,28,-1,18,19,30,29,-1,19,20,31,30,-1,21,11,22,32,-1,22,23,34,33,-1,23,24,35,34,-1,24,25,36,35,-1,25,26,37,36,-1,26,27,38,37,-1,27,28,39,38,-1,28,29,40,39,-1,29,30,41,40,-1,30,31,42,41,-1,32,22,33,43,-1,33,34,45,44,-1,34,35,46,45,-1,35,36,47,46,-1,36,37,48,47,-1,37,38,49,48,-1,38,39,50,49,-1,39,40,51,50,-1,40,41,52,51,-1,41,42,53,52,-1,43,33,44,54,-1,44,45,56,55,-1,45,46,57,56,-1,46,47,58,57,-1,47,48,59,58,-1,48,49,60,59,-1,49,50,61,60,-1,50,51,62,61,-1,51,52,63,62,-1,52,53,64,63,-1,54,44,55,65,-1,55,56,67,66,-1,56,57,68,67,-1,57,58,69,68,-1,58,59,70,69,-1,59,60,71,70,-1,60,61,72,71,-1,61,62,73,72,-1,62,63,74,73,-1,63,64,75,74,-1,65,55,66,76,-1,66,67,78,77,-1,67,68,79,78,-1,68,69,80,79,-1,69,70,81,80,-1,70,71,82,81,-1,71,72,83,82,-1,72,73,84,83,-1,73,74,85,84,-1,74,75,86,85,-1,76,66,77,87,-1,77,78,89,88,-1,78,79,90,89,-1,79,80,91,90,-1,80,81,92,91,-1,81,82,93,92,-1,82,83,94,93,-1,83,84,95,94,-1,84,85,96,95,-1,85,86,97,96,-1,87,77,88,98,-1,88,89,100,99,-1,89,90,101,100,-1,90,91,102,101,-1,91,92,103,102,-1,92,93,104,103,-1,93,94,105,104,-1,94,95,106,105,-1,95,96,107,106,-1,96,97,108,107,-1,98,88,99,109,-1,99,100,111,110,-1,100,101,112,111,-1,101,102,113,112,-1,102,103,114,113,-1,103,104,115,114,-1,104,105,116,115,-1,105,106,117,116,-1,106,107,118,117,-1,107,108,119,118,-1,109,99,110,120,-1,110,111,122,121,-1,111,112,123,122,-1,112,113,124,123,-1,113,114,125,124,-1,114,115,126,125,-1,115,116,127,126,-1,116,117,128,127,-1,117,118,129,128,-1,118,119,130,129,-1,120,110,121,131,-1,121,122,133,132,-1,122,123,134,133,-1,123,124,135,134,-1,124,125,136,135,-1,125,126,137,136,-1,126,127,138,137,-1,127,128,139,138,-1,128,129,140,139,-1,129,130,141,140,-1,131,121,132,142,-1,132,133,144,143,-1,133,134,145,144,-1,134,135,146,145,-1,135,136,147,146,-1,136,137,148,147,-1,137,138,149,148,-1,138,139,150,149,-1,139,140,151,150,-1,140,141,152,151,-1,142,132,143,153,-1,143,144,155,154,-1,144,145,156,155,-1,145,146,157,156,-1,146,147,158,157,-1,147,148,159,158,-1,148,149,160,159,-1,149,150,161,160,-1,150,151,162,161,-1,151,152,163,162,-1,153,143,154,164,-1,154,155,166,165,-1,155,156,167,166,-1,156,157,168,167,-1,157,158,169,168,-1,158,159,170,169,-1,159,160,171,170,-1,160,161,172,171,-1,161,162,173,172,-1,162,163,174,173,-1,164,154,165,175,-1,165,166,177,176,-1,166,167,178,177,-1,167,168,179,178,-1,168,169,180,179,-1,169,170,181,180,-1,170,171,182,181,-1,171,172,183,182,-1,172,173,184,183,-1,173,174,185,184,-1,175,165,176,186,-1,176,177,188,187,-1,177,178,189,188,-1,178,179,190,189,-1,179,180,191,190,-1,180,181,192,191,-1,181,182,193,192,-1,182,183,194,193,-1,183,184,195,194,-1,184,185,196,195,-1,186,176,187,197,-1,187,188,199,198,-1,188,189,200,199,-1,189,190,201,200,-1,190,191,202,201,-1,191,192,203,202,-1,192,193,204,203,-1,193,194,205,204,-1,194,195,206,205,-1,195,196,207,206,-1,197,187,198,208,-1,1,0,209,-1,2,1,209,-1,3,2,209,-1,4,3,209,-1,5,4,209,-1,6,5,209,-1,7,6,209,-1,8,7,209,-1,198,199,210,-1,199,200,210,-1,200,201,210,-1,201,202,210,-1,202,203,210,-1,203,204,210,-1,204,205,210,-1,205,206,210,-1])).setCreaseAngle(x3dpsail.SFFloat(0.7854))
                .setCoord(x3dpsail.Coordinate().setDEF(x3dpsail.SFString("pSphere1GeoPoints")).setPoint(x3dpsail.MFVec3f([0.06,-0.43,-0.02,0.05,-0.43,-0.04,0.04,-0.43,-0.05,0.02,-0.43,-0.06,0,-0.43,-0.07,-0.02,-0.43,-0.06,-0.04,-0.43,-0.05,-0.05,-0.43,-0.04,-0.06,-0.43,-0.02,-0.07,-0.43,0,0.07,-0.43,0,0.13,-0.41,-0.04,0.11,-0.41,-0.08,0.08,-0.41,-0.11,0.04,-0.41,-0.13,0,-0.41,-0.13,-0.04,-0.41,-0.13,-0.08,-0.41,-0.11,-0.11,-0.41,-0.08,-0.13,-0.41,-0.04,-0.13,-0.41,0,0.13,-0.41,0,0.19,-0.38,-0.06,0.16,-0.38,-0.11,0.11,-0.38,-0.16,0.06,-0.38,-0.19,0,-0.38,-0.2,-0.06,-0.38,-0.19,-0.11,-0.38,-0.16,-0.16,-0.38,-0.11,-0.19,-0.38,-0.06,-0.2,-0.38,0,0.2,-0.38,0,0.24,-0.35,-0.08,0.2,-0.35,-0.15,0.15,-0.35,-0.2,0.08,-0.35,-0.24,0,-0.35,-0.25,-0.08,-0.35,-0.24,-0.15,-0.35,-0.2,-0.2,-0.35,-0.15,-0.24,-0.35,-0.08,-0.25,-0.35,0,0.25,-0.35,0,0.29,-0.3,-0.09,0.25,-0.3,-0.18,0.18,-0.3,-0.25,0.09,-0.3,-0.29,0,-0.3,-0.3,-0.09,-0.3,-0.29,-0.18,-0.3,-0.25,-0.25,-0.3,-0.18,-0.29,-0.3,-0.09,-0.3,-0.3,0,0.3,-0.3,0,0.33,-0.25,-0.11,0.28,-0.25,-0.2,0.2,-0.25,-0.28,0.11,-0.25,-0.33,0,-0.25,-0.35,-0.11,-0.25,-0.33,-0.2,-0.25,-0.28,-0.28,-0.25,-0.2,-0.33,-0.25,-0.11,-0.35,-0.25,0,0.35,-0.25,0,0.37,-0.2,-0.12,0.31,-0.2,-0.23,0.23,-0.2,-0.31,0.12,-0.2,-0.37,0,-0.2,-0.38,-0.12,-0.2,-0.37,-0.23,-0.2,-0.31,-0.31,-0.2,-0.23,-0.37,-0.2,-0.12,-0.38,-0.2,0,0.38,-0.2,0,0.39,-0.13,-0.13,0.33,-0.13,-0.24,0.24,-0.13,-0.33,0.13,-0.13,-0.39,0,-0.13,-0.41,-0.13,-0.13,-0.39,-0.24,-0.13,-0.33,-0.33,-0.13,-0.24,-0.39,-0.13,-0.13,-0.41,-0.13,0,0.41,-0.13,0,0.4,-0.07,-0.13,0.34,-0.07,-0.25,0.25,-0.07,-0.34,0.13,-0.07,-0.4,0,-0.07,-0.43,-0.13,-0.07,-0.4,-0.25,-0.07,-0.34,-0.34,-0.07,-0.25,-0.4,-0.07,-0.13,-0.43,-0.07,0,0.43,-0.07,0,0.41,0,-0.13,0.35,0,-0.25,0.25,0,-0.35,0.13,0,-0.41,0,0,-0.43,-0.13,0,-0.41,-0.25,0,-0.35,-0.35,0,-0.25,-0.41,0,-0.13,-0.43,0,0,0.43,0,0,0.4,0.07,-0.13,0.34,0.07,-0.25,0.25,0.07,-0.34,0.13,0.07,-0.4,0,0.07,-0.43,-0.13,0.07,-0.4,-0.25,0.07,-0.34,-0.34,0.07,-0.25,-0.4,0.07,-0.13,-0.43,0.07,0,0.43,0.07,0,0.39,0.13,-0.13,0.33,0.13,-0.24,0.24,0.13,-0.33,0.13,0.13,-0.39,0,0.13,-0.41,-0.13,0.13,-0.39,-0.24,0.13,-0.33,-0.33,0.13,-0.24,-0.39,0.13,-0.13,-0.41,0.13,0,0.41,0.13,0,0.37,0.2,-0.12,0.31,0.2,-0.23,0.23,0.2,-0.31,0.12,0.2,-0.37,0,0.2,-0.38,-0.12,0.2,-0.37,-0.23,0.2,-0.31,-0.31,0.2,-0.23,-0.37,0.2,-0.12,-0.38,0.2,0,0.38,0.2,0,0.33,0.25,-0.11,0.28,0.25,-0.2,0.2,0.25,-0.28,0.11,0.25,-0.33,0,0.25,-0.35,-0.11,0.25,-0.33,-0.2,0.25,-0.28,-0.28,0.25,-0.2,-0.33,0.25,-0.11,-0.35,0.25,0,0.35,0.25,0,0.29,0.3,-0.09,0.25,0.3,-0.18,0.18,0.3,-0.25,0.09,0.3,-0.29,0,0.3,-0.3,-0.09,0.3,-0.29,-0.18,0.3,-0.25,-0.25,0.3,-0.18,-0.29,0.3,-0.09,-0.3,0.3,0,0.3,0.3,0,0.24,0.35,-0.08,0.2,0.35,-0.15,0.15,0.35,-0.2,0.08,0.35,-0.24,0,0.35,-0.25,-0.08,0.35,-0.24,-0.15,0.35,-0.2,-0.2,0.35,-0.15,-0.24,0.35,-0.08,-0.25,0.35,0,0.25,0.35,0,0.19,0.38,-0.06,0.16,0.38,-0.11,0.11,0.38,-0.16,0.06,0.38,-0.19,0,0.38,-0.2,-0.06,0.38,-0.19,-0.11,0.38,-0.16,-0.16,0.38,-0.11,-0.19,0.38,-0.06,-0.2,0.38,0,0.2,0.38,0,0.13,0.41,-0.04,0.11,0.41,-0.08,0.08,0.41,-0.11,0.04,0.41,-0.13,0,0.41,-0.13,-0.04,0.41,-0.13,-0.08,0.41,-0.11,-0.11,0.41,-0.08,-0.13,0.41,-0.04,-0.13,0.41,0,0.13,0.41,0,0.06,0.43,-0.02,0.05,0.43,-0.04,0.04,0.43,-0.05,0.02,0.43,-0.06,0,0.43,-0.07,-0.02,0.43,-0.06,-0.04,0.43,-0.05,-0.05,0.43,-0.04,-0.06,0.43,-0.02,-0.07,0.43,0,0.07,0.43,0,0,-0.43,0,0,0.43,0]))))
              .setAppearance(x3dpsail.Appearance().setUSE(x3dpsail.SFString("CameraAppearance")))))
          .addChild(x3dpsail.Group()
            .addChild(x3dpsail.Transform().setDEF(x3dpsail.SFString("pCylinder1")).setRotation(x3dpsail.SFRotation(-1,0,0,0.373518)).setTranslation(x3dpsail.SFVec3f(-0.038462,3.596312,3.297562))
                                x3dpsail.SFRotation(
                                    0, 1, 0, -1.57)).setPosition(
                                        x3dpsail.SFVec3f(-10, 0, 0))).addChild(
                                            x3dpsail.NavigationInfo().setType(
                                                x3dpsail.MFString([
                                                    "EXAMINE", "WALK", "FLY",
                                                    "ANY"
                                                ]))).
        addChild(x3dpsail.Shape().setAppearance(
            x3dpsail.Appearance().setMaterial(x3dpsail.Material()).setTexture(
                x3dpsail.PixelTexture().setImage(
                    x3dpsail.SFImage(
                        2, 2, 4, -16776961, 16711935, -1,
                        -65281)).setRepeatS(x3dpsail.SFBool(False)).setRepeatT(
                            x3dpsail.SFBool(False)))).setGeometry(
                                x3dpsail.IndexedFaceSet().setCoordIndex(
                                    x3dpsail.MFInt32([
                                        0, 1, 3, 2, -1, 4, 5, 7, 6, -1, 6, 7,
                                        1, 0, -1, 2, 3, 5, 4, -1, 6, 0, 2, 4,
                                        -1, 1, 7, 5, 3, -1
                                    ])).setCoord(
                                        x3dpsail.Coordinate().setPoint(
                                            x3dpsail.MFVec3f([
                                                -2, 1.5, 1, -2, -1.5, 1, 2,
                                                1.5, 1, 2, -1.5, 1, 2, 1.5, -1,
                                                2, -1.5, -1, -2, 1.5, -1, -2,
                                                -1.5, -1
                                            ])))))))

X3D0.toFileX3D("./future/./indexedfaceset_pixeltexture_entire_RoundTrip.x3d")
Ejemplo n.º 12
0
      .setHead(x3dpsail.head()
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("title")).setContent(x3dpsail.SFString("MooringBuoy.x3d")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("description")).setContent(x3dpsail.SFString("A mooring buoy used in Naval Harbors")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("creator")).setContent(x3dpsail.SFString("LT Patrick Sullivan")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("created")).setContent(x3dpsail.SFString("28 July 2006")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("modified")).setContent(x3dpsail.SFString("12 January 2014")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("identifier")).setContent(x3dpsail.SFString("https://savage.nps.edu/Savage/HarborEquipment/Buoys/MooringBuoy.x3d")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("generator")).setContent(x3dpsail.SFString("VizX3D, http://www.vivaty.com/downloads/studio")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("generator")).setContent(x3dpsail.SFString("Wings3D, http://www.wings3d.com")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("generator")).setContent(x3dpsail.SFString("X3D-Edit, https://savage.nps.edu/X3D-Edit")))
        .addMeta(x3dpsail.meta().setName(x3dpsail.SFString("license")).setContent(x3dpsail.SFString("../../license.html"))))
      .setScene(x3dpsail.Scene()
        .addChild(x3dpsail.Transform().setScale(x3dpsail.SFVec3f(0.3,0.3,0.3))
          .addChild(x3dpsail.Group().setDEF(x3dpsail.SFString("MooringBuoyWithHook"))
            .addChild(x3dpsail.Transform().setDEF(x3dpsail.SFString("Hook"))
              .addChild(x3dpsail.Shape()
                .setAppearance(x3dpsail.Appearance()
                  .setMaterial(x3dpsail.Material().setDEF(x3dpsail.SFString("Black_mat")).setDiffuseColor(x3dpsail.SFColor(0,0,0))))
                .setGeometry(x3dpsail.IndexedFaceSet().setCoordIndex(x3dpsail.MFInt32([0,1,2,-1,0,2,3,-1,0,4,5,-1,0,5,6,-1,0,3,7,-1,0,7,4,-1,0,6,8,-1,0,8,1,-1,1,9,10,-1,1,10,2,-1,1,8,11,-1,1,11,9,-1,9,12,13,-1,9,13,10,-1,9,11,14,-1,9,14,12,-1,12,15,16,-1,12,16,13,-1,12,14,17,-1,12,17,15,-1,15,18,19,-1,15,19,16,-1,15,17,20,-1,15,20,18,-1,18,21,22,-1,18,22,19,-1,18,20,23,-1,18,23,21,-1,21,24,25,-1,21,25,22,-1,21,23,26,-1,21,26,24,-1,24,27,28,-1,24,28,25,-1,24,26,29,-1,24,29,27,-1,27,30,31,-1,27,31,28,-1,27,29,32,-1,27,32,30,-1,30,33,34,-1,30,34,31,-1,30,32,35,-1,30,35,33,-1,33,36,37,-1,33,37,34,-1,33,35,38,-1,33,38,36,-1,36,39,40,-1,36,40,37,-1,36,38,41,-1,36,41,39,-1,39,42,43,-1,39,43,40,-1,39,41,44,-1,39,44,42,-1,42,45,46,-1,42,46,43,-1,42,44,47,-1,42,47,45,-1,45,4,7,-1,45,7,46,-1,45,47,5,-1,45,5,4,-1,3,2,10,-1,3,10,13,-1,3,13,16,-1,3,16,19,-1,3,19,22,-1,3,22,25,-1,3,25,28,-1,3,28,31,-1,3,31,34,-1,3,34,37,-1,3,37,40,-1,3,40,43,-1,3,43,46,-1,3,46,7,-1,8,6,48,-1,8,48,49,-1,8,49,50,-1,8,50,11,-1,6,5,51,-1,6,51,48,-1,5,47,52,-1,5,52,51,-1,47,44,53,-1,47,53,52,-1,44,41,54,-1,44,54,53,-1,41,38,55,-1,41,55,54,-1,38,35,56,-1,38,56,55,-1,35,32,57,-1,35,57,56,-1,32,29,58,-1,32,58,57,-1,29,26,59,-1,29,59,58,-1,26,23,60,-1,26,60,59,-1,23,20,61,-1,23,61,60,-1,20,17,62,-1,20,62,61,-1,17,14,63,-1,17,63,62,-1,14,11,50,-1,14,50,63,-1,49,48,64,-1,49,64,65,-1,49,65,66,-1,49,66,50,-1,48,51,67,-1,48,67,64,-1,51,52,68,-1,51,68,67,-1,52,53,69,-1,52,69,68,-1,53,54,70,-1,53,70,69,-1,54,55,71,-1,54,71,70,-1,55,56,72,-1,55,72,71,-1,56,57,73,-1,56,73,72,-1,57,58,74,-1,57,74,73,-1,58,59,75,-1,58,75,74,-1,59,60,76,-1,59,76,75,-1,60,61,77,-1,60,77,76,-1,61,62,78,-1,61,78,77,-1,62,63,79,-1,62,79,78,-1,63,50,66,-1,63,66,79,-1,65,64,80,-1,65,80,81,-1,65,81,82,-1,65,82,66,-1,64,67,83,-1,64,83,80,-1,67,68,84,-1,67,84,83,-1,68,69,85,-1,68,85,84,-1,69,70,86,-1,69,86,85,-1,70,71,87,-1,70,87,86,-1,71,72,88,-1,71,88,87,-1,72,73,89,-1,72,89,88,-1,73,74,90,-1,73,90,89,-1,74,75,91,-1,74,91,90,-1,75,76,92,-1,75,92,91,-1,76,77,93,-1,76,93,92,-1,77,78,94,-1,77,94,93,-1,78,79,95,-1,78,95,94,-1,79,66,82,-1,79,82,95,-1,81,80,83,-1,81,83,84,-1,81,84,85,-1,81,85,86,-1,81,86,87,-1,81,87,88,-1,81,88,89,-1,81,89,90,-1,81,90,91,-1,81,91,92,-1,81,92,93,-1,81,93,94,-1,81,94,95,-1,81,95,82,-1,96,97,98,-1,96,98,99,-1,96,100,101,-1,96,101,102,-1,96,102,103,-1,96,103,97,-1,96,99,104,-1,96,104,100,-1,97,105,106,-1,97,106,98,-1,97,103,107,-1,97,107,105,-1,105,108,109,-1,105,109,106,-1,105,107,110,-1,105,110,108,-1,108,111,112,-1,108,112,109,-1,108,110,113,-1,108,113,111,-1,111,114,115,-1,111,115,112,-1,111,113,116,-1,111,116,114,-1,114,117,118,-1,114,118,115,-1,114,116,119,-1,114,119,117,-1,117,120,121,-1,117,121,118,-1,117,119,122,-1,117,122,120,-1,120,123,124,-1,120,124,121,-1,120,122,125,-1,120,125,123,-1,123,126,127,-1,123,127,124,-1,123,125,128,-1,123,128,126,-1,126,129,130,-1,126,130,127,-1,126,128,131,-1,126,131,129,-1,129,132,133,-1,129,133,130,-1,129,131,134,-1,129,134,132,-1,132,135,136,-1,132,136,133,-1,132,134,137,-1,132,137,135,-1,135,138,139,-1,135,139,136,-1,135,137,140,-1,135,140,138,-1,138,141,142,-1,138,142,139,-1,138,140,143,-1,138,143,141,-1,141,100,104,-1,141,104,142,-1,141,143,101,-1,141,101,100,-1,102,101,143,-1,102,143,140,-1,102,140,137,-1,102,137,134,-1,102,134,131,-1,102,131,128,-1,102,128,125,-1,102,125,122,-1,102,122,119,-1,102,119,116,-1,102,116,113,-1,102,113,110,-1,102,110,107,-1,102,107,103,-1,98,106,144,-1,98,144,145,-1,98,145,146,-1,98,146,99,-1,99,146,147,-1,99,147,104,-1,104,147,148,-1,104,148,142,-1,142,148,149,-1,142,149,139,-1,139,149,150,-1,139,150,136,-1,136,150,151,-1,136,151,133,-1,133,151,152,-1,133,152,130,-1,130,152,153,-1,130,153,127,-1,127,153,154,-1,127,154,124,-1,124,154,155,-1,124,155,121,-1,121,155,156,-1,121,156,118,-1,118,156,157,-1,118,157,115,-1,115,157,158,-1,115,158,112,-1,112,158,159,-1,112,159,109,-1,109,159,144,-1,109,144,106,-1,145,144,160,-1,145,160,161,-1,145,161,162,-1,145,162,146,-1,146,162,163,-1,146,163,147,-1,147,163,164,-1,147,164,148,-1,148,164,165,-1,148,165,149,-1,149,165,166,-1,149,166,150,-1,150,166,167,-1,150,167,151,-1,151,167,168,-1,151,168,152,-1,152,168,169,-1,152,169,153,-1,153,169,170,-1,153,170,154,-1,154,170,171,-1,154,171,155,-1,155,171,172,-1,155,172,156,-1,156,172,173,-1,156,173,157,-1,157,173,174,-1,157,174,158,-1,158,174,175,-1,158,175,159,-1,159,175,160,-1,159,160,144,-1,161,160,176,-1,161,176,177,-1,161,177,178,-1,161,178,162,-1,162,178,179,-1,162,179,163,-1,163,179,180,-1,163,180,164,-1,164,180,181,-1,164,181,165,-1,165,181,182,-1,165,182,166,-1,166,182,183,-1,166,183,167,-1,167,183,184,-1,167,184,168,-1,168,184,185,-1,168,185,169,-1,169,185,186,-1,169,186,170,-1,170,186,187,-1,170,187,171,-1,171,187,188,-1,171,188,172,-1,172,188,189,-1,172,189,173,-1,173,189,190,-1,173,190,174,-1,174,190,191,-1,174,191,175,-1,175,191,176,-1,175,176,160,-1,177,176,191,-1,177,191,190,-1,177,190,189,-1,177,189,188,-1,177,188,187,-1,177,187,186,-1,177,186,185,-1,177,185,184,-1,177,184,183,-1,177,183,182,-1,177,182,181,-1,177,181,180,-1,177,180,179,-1,177,179,178,-1])).setCreaseAngle(x3dpsail.SFFloat(0.524))
                  .setCoord(x3dpsail.Coordinate().setPoint(x3dpsail.MFVec3f([-0.07,0.57,0,-0.08,0.57,0.01,-0.08,0.5,0.01,-0.07,0.5,0,-0.08,0.57,-0.01,-0.08,0.6,-0.01,-0.08,0.6,0,-0.08,0.5,-0.01,-0.08,0.6,0.01,-0.08,0.57,0.02,-0.08,0.5,0.02,-0.09,0.6,0.02,-0.09,0.57,0.02,-0.09,0.5,0.02,-0.09,0.6,0.02,-0.1,0.57,0.03,-0.1,0.5,0.03,-0.1,0.61,0.03,-0.11,0.57,0.02,-0.11,0.5,0.02,-0.11,0.61,0.02,-0.12,0.57,0.02,-0.12,0.5,0.02,-0.12,0.62,0.02,-0.12,0.57,0.01,-0.12,0.5,0.01,-0.12,0.62,0.01,-0.13,0.57,0,-0.13,0.5,0,-0.12,0.62,0,-0.12,0.57,-0.01,-0.12,0.5,-0.01,-0.12,0.62,-0.01,-0.12,0.57,-0.02,-0.12,0.5,-0.02,-0.12,0.62,-0.02,-0.11,0.57,-0.02,-0.11,0.5,-0.02,-0.11,0.61,-0.02,-0.1,0.57,-0.03,-0.1,0.5,-0.03,-0.1,0.61,-0.03,-0.09,0.57,-0.02,-0.09,0.5,-0.02,-0.09,0.6,-0.02,-0.08,0.57,-0.02,-0.08,0.5,-0.02,-0.09,0.6,-0.02,-0.06,0.63,0,-0.06,0.63,0.01,-0.07,0.63,0.02,-0.06,0.63,-0.01,-0.07,0.63,-0.02,-0.07,0.64,-0.02,-0.08,0.64,-0.03,-0.09,0.65,-0.02,-0.09,0.66,-0.02,-0.1,0.66,-0.01,-0.1,0.66,0,-0.1,0.66,0.01,-0.09,0.66,0.02,-0.09,0.65,0.02,-0.08,0.64,0.03,-0.07,0.64,0.02,-0.03,0.65,0,-0.03,0.65,0.01,-0.04,0.66,0.02,-0.03,0.65,-0.01,-0.04,0.66,-0.02,-0.04,0.67,-0.02,-0.04,0.68,-0.03,-0.04,0.69,-0.02,-0.04,0.69,-0.02,-0.04,0.7,-0.01,-0.04,0.7,0,-0.04,0.7,0.01,-0.04,0.69,0.02,-0.04,0.69,0.02,-0.04,0.68,0.03,-0.04,0.67,0.02,0,0.65,0,0,0.66,0.01,0,0.66,0.02,0,0.66,-0.01,0,0.66,-0.02,0,0.67,-0.02,0,0.68,-0.03,0,0.69,-0.02,0,0.7,-0.02,0,0.7,-0.01,0,0.71,0,0,0.7,0.01,0,0.7,0.02,0,0.69,0.02,0,0.68,0.03,0,0.67,0.02,0.07,0.57,0,0.07,0.57,0.01,0.07,0.59,0.01,0.07,0.59,0,0.07,0.57,-0.01,0.07,0.5,-0.01,0.07,0.5,0,0.07,0.5,0.01,0.07,0.59,-0.01,0.08,0.57,0.02,0.08,0.6,0.02,0.07,0.5,0.02,0.08,0.57,0.02,0.09,0.6,0.02,0.08,0.5,0.02,0.09,0.57,0.03,0.09,0.61,0.03,0.09,0.5,0.03,0.1,0.57,0.02,0.1,0.61,0.02,0.1,0.5,0.02,0.11,0.57,0.02,0.11,0.62,0.02,0.11,0.5,0.02,0.12,0.57,0.01,0.12,0.62,0.01,0.12,0.5,0.01,0.12,0.57,0,0.12,0.62,0,0.12,0.5,0,0.12,0.57,-0.01,0.12,0.62,-0.01,0.12,0.5,-0.01,0.11,0.57,-0.02,0.11,0.62,-0.02,0.11,0.5,-0.02,0.1,0.57,-0.02,0.1,0.61,-0.02,0.1,0.5,-0.02,0.09,0.57,-0.03,0.09,0.61,-0.03,0.09,0.5,-0.03,0.08,0.57,-0.02,0.09,0.6,-0.02,0.08,0.5,-0.02,0.08,0.57,-0.02,0.08,0.6,-0.02,0.07,0.5,-0.02,0.06,0.63,0.02,0.06,0.63,0.01,0.05,0.63,0,0.06,0.63,-0.01,0.06,0.63,-0.02,0.07,0.64,-0.02,0.07,0.64,-0.03,0.08,0.65,-0.02,0.09,0.65,-0.02,0.09,0.66,-0.01,0.09,0.66,0,0.09,0.66,0.01,0.09,0.65,0.02,0.08,0.65,0.02,0.07,0.64,0.03,0.07,0.64,0.02,0.03,0.66,0.02,0.03,0.65,0.01,0.03,0.65,0,0.03,0.65,-0.01,0.03,0.66,-0.02,0.03,0.67,-0.02,0.03,0.68,-0.03,0.03,0.69,-0.02,0.03,0.69,-0.02,0.04,0.7,-0.01,0.04,0.7,0,0.04,0.7,0.01,0.03,0.69,0.02,0.03,0.69,0.02,0.03,0.68,0.03,0.03,0.67,0.02,0,0.66,0.02,0,0.66,0.01,0,0.65,0,0,0.66,-0.01,0,0.66,-0.02,0,0.67,-0.02,0,0.68,-0.03,0,0.69,-0.02,0,0.7,-0.02,0,0.7,-0.01,0,0.71,0,0,0.7,0.01,0,0.7,0.02,0,0.69,0.02,0,0.68,0.03,0,0.67,0.02]))))))
            .addChild(x3dpsail.Transform().setDEF(x3dpsail.SFString("MooringBuoy"))
              .addChild(x3dpsail.Shape()
                .setAppearance(x3dpsail.Appearance()
                  .setMaterial(x3dpsail.Material().setDEF(x3dpsail.SFString("default_mat")).setAmbientIntensity(x3dpsail.SFFloat(1)).setDiffuseColor(x3dpsail.SFColor(0.50196,0.50196,0.50196)).setShininess(x3dpsail.SFFloat(1)))
                  .setTexture(x3dpsail.ImageTexture().setUrl(x3dpsail.MFString(["examples/Savage/HarborEquipment/Buoys/textures/MooringBuoy.jpg"]))))
                .setGeometry(x3dpsail.IndexedFaceSet().setCoordIndex(x3dpsail.MFInt32([0,1,2,-1,0,2,3,-1,0,4,5,-1,0,5,6,-1,0,3,7,-1,0,7,4,-1,0,6,8,-1,0,8,1,-1,1,9,10,-1,1,10,2,-1,1,8,11,-1,1,11,9,-1,9,12,13,-1,9,13,10,-1,9,11,14,-1,9,14,12,-1,12,15,16,-1,12,16,13,-1,12,14,17,-1,12,17,15,-1,15,18,19,-1,15,19,16,-1,15,17,20,-1,15,20,18,-1,18,21,22,-1,18,22,19,-1,18,20,23,-1,18,23,21,-1,21,24,25,-1,21,25,22,-1,21,23,26,-1,21,26,24,-1,24,27,28,-1,24,28,25,-1,24,26,29,-1,24,29,27,-1,27,30,31,-1,27,31,28,-1,27,29,32,-1,27,32,30,-1,30,33,34,-1,30,34,31,-1,30,32,35,-1,30,35,33,-1,33,36,37,-1,33,37,34,-1,33,35,38,-1,33,38,36,-1,36,39,40,-1,36,40,37,-1,36,38,41,-1,36,41,39,-1,39,42,43,-1,39,43,40,-1,39,41,44,-1,39,44,42,-1,42,45,46,-1,42,46,43,-1,42,44,47,-1,42,47,45,-1,45,48,49,-1,45,49,46,-1,45,47,50,-1,45,50,48,-1,48,51,52,-1,48,52,49,-1,48,50,53,-1,48,53,51,-1,51,54,55,-1,51,55,52,-1,51,53,56,-1,51,56,54,-1,54,57,58,-1,54,58,55,-1,54,56,59,-1,54,59,57,-1,57,60,61,-1,57,61,58,-1,57,59,62,-1,57,62,60,-1,60,63,64,-1,60,64,61,-1,60,62,65,-1,60,65,63,-1,63,66,67,-1,63,67,64,-1,63,65,68,-1,63,68,66,-1,66,69,70,-1,66,70,67,-1,66,68,71,-1,66,71,69,-1,69,72,73,-1,69,73,70,-1,69,71,74,-1,69,74,72,-1,72,75,76,-1,72,76,73,-1,72,74,77,-1,72,77,75,-1,75,78,79,-1,75,79,76,-1,75,77,80,-1,75,80,78,-1,78,81,82,-1,78,82,79,-1,78,80,83,-1,78,83,81,-1,81,84,85,-1,81,85,82,-1,81,83,86,-1,81,86,84,-1,84,87,88,-1,84,88,85,-1,84,86,89,-1,84,89,87,-1,87,90,91,-1,87,91,88,-1,87,89,92,-1,87,92,90,-1,90,93,94,-1,90,94,91,-1,90,92,95,-1,90,95,93,-1,93,4,7,-1,93,7,94,-1,93,95,5,-1,93,5,4,-1,3,2,96,-1,3,96,97,-1,3,97,98,-1,3,98,7,-1,2,10,99,-1,2,99,96,-1,10,13,100,-1,10,100,99,-1,13,16,101,-1,13,101,100,-1,16,19,102,-1,16,102,101,-1,19,22,103,-1,19,103,102,-1,22,25,104,-1,22,104,103,-1,25,28,105,-1,25,105,104,-1,28,31,106,-1,28,106,105,-1,31,34,107,-1,31,107,106,-1,34,37,108,-1,34,108,107,-1,37,40,109,-1,37,109,108,-1,40,43,110,-1,40,110,109,-1,43,46,111,-1,43,111,110,-1,46,49,112,-1,46,112,111,-1,49,52,113,-1,49,113,112,-1,52,55,114,-1,52,114,113,-1,55,58,115,-1,55,115,114,-1,58,61,116,-1,58,116,115,-1,61,64,117,-1,61,117,116,-1,64,67,118,-1,64,118,117,-1,67,70,119,-1,67,119,118,-1,70,73,120,-1,70,120,119,-1,73,76,121,-1,73,121,120,-1,76,79,122,-1,76,122,121,-1,79,82,123,-1,79,123,122,-1,82,85,124,-1,82,124,123,-1,85,88,125,-1,85,125,124,-1,88,91,126,-1,88,126,125,-1,91,94,127,-1,91,127,126,-1,94,7,98,-1,94,98,127,-1,8,6,128,-1,8,128,129,-1,8,129,130,-1,8,130,11,-1,6,5,131,-1,6,131,128,-1,5,95,132,-1,5,132,131,-1,95,92,133,-1,95,133,132,-1,92,89,134,-1,92,134,133,-1,89,86,135,-1,89,135,134,-1,86,83,136,-1,86,136,135,-1,83,80,137,-1,83,137,136,-1,80,77,138,-1,80,138,137,-1,77,74,139,-1,77,139,138,-1,74,71,140,-1,74,140,139,-1,71,68,141,-1,71,141,140,-1,68,65,142,-1,68,142,141,-1,65,62,143,-1,65,143,142,-1,62,59,144,-1,62,144,143,-1,59,56,145,-1,59,145,144,-1,56,53,146,-1,56,146,145,-1,53,50,147,-1,53,147,146,-1,50,47,148,-1,50,148,147,-1,47,44,149,-1,47,149,148,-1,44,41,150,-1,44,150,149,-1,41,38,151,-1,41,151,150,-1,38,35,152,-1,38,152,151,-1,35,32,153,-1,35,153,152,-1,32,29,154,-1,32,154,153,-1,29,26,155,-1,29,155,154,-1,26,23,156,-1,26,156,155,-1,23,20,157,-1,23,157,156,-1,20,17,158,-1,20,158,157,-1,17,14,159,-1,17,159,158,-1,14,11,130,-1,14,130,159,-1,129,128,160,-1,129,160,161,-1,129,161,162,-1,129,162,130,-1,128,131,163,-1,128,163,160,-1,131,132,164,-1,131,164,163,-1,132,133,165,-1,132,165,164,-1,133,134,166,-1,133,166,165,-1,134,135,167,-1,134,167,166,-1,135,136,168,-1,135,168,167,-1,136,137,169,-1,136,169,168,-1,137,138,170,-1,137,170,169,-1,138,139,171,-1,138,171,170,-1,139,140,172,-1,139,172,171,-1,140,141,173,-1,140,173,172,-1,141,142,174,-1,141,174,173,-1,142,143,175,-1,142,175,174,-1,143,144,176,-1,143,176,175,-1,144,145,177,-1,144,177,176,-1,145,146,178,-1,145,178,177,-1,146,147,179,-1,146,179,178,-1,147,148,180,-1,147,180,179,-1,148,149,181,-1,148,181,180,-1,149,150,182,-1,149,182,181,-1,150,151,183,-1,150,183,182,-1,151,152,184,-1,151,184,183,-1,152,153,185,-1,152,185,184,-1,153,154,186,-1,153,186,185,-1,154,155,187,-1,154,187,186,-1,155,156,188,-1,155,188,187,-1,156,157,189,-1,156,189,188,-1,157,158,190,-1,157,190,189,-1,158,159,191,-1,158,191,190,-1,159,130,162,-1,159,162,191,-1,161,160,192,-1,161,192,193,-1,161,193,194,-1,161,194,162,-1,160,163,195,-1,160,195,192,-1,163,164,196,-1,163,196,195,-1,164,165,197,-1,164,197,196,-1,165,166,198,-1,165,198,197,-1,166,167,199,-1,166,199,198,-1,167,168,200,-1,167,200,199,-1,168,169,201,-1,168,201,200,-1,169,170,202,-1,169,202,201,-1,170,171,203,-1,170,203,202,-1,171,172,204,-1,171,204,203,-1,172,173,205,-1,172,205,204,-1,173,174,206,-1,173,206,205,-1,174,175,207,-1,174,207,206,-1,175,176,208,-1,175,208,207,-1,176,177,209,-1,176,209,208,-1,177,178,210,-1,177,210,209,-1,178,179,211,-1,178,211,210,-1,179,180,212,-1,179,212,211,-1,180,181,213,-1,180,213,212,-1,181,182,214,-1,181,214,213,-1,182,183,215,-1,182,215,214,-1,183,184,216,-1,183,216,215,-1,184,185,217,-1,184,217,216,-1,185,186,218,-1,185,218,217,-1,186,187,219,-1,186,219,218,-1,187,188,220,-1,187,220,219,-1,188,189,221,-1,188,221,220,-1,189,190,222,-1,189,222,221,-1,190,191,223,-1,190,223,222,-1,191,162,194,-1,191,194,223,-1,97,96,99,-1,97,99,100,-1,97,100,101,-1,97,101,102,-1,97,102,103,-1,97,103,104,-1,97,104,105,-1,97,105,106,-1,97,106,107,-1,97,107,108,-1,97,108,109,-1,97,109,110,-1,97,110,111,-1,97,111,112,-1,97,112,113,-1,97,113,114,-1,97,114,115,-1,97,115,116,-1,97,116,117,-1,97,117,118,-1,97,118,119,-1,97,119,120,-1,97,120,121,-1,97,121,122,-1,97,122,123,-1,97,123,124,-1,97,124,125,-1,97,125,126,-1,97,126,127,-1,97,127,98,-1,193,192,224,-1,193,224,225,-1,193,225,226,-1,193,226,194,-1,192,195,227,-1,192,227,224,-1,195,196,228,-1,195,228,227,-1,196,197,229,-1,196,229,228,-1,197,198,230,-1,197,230,229,-1,198,199,231,-1,198,231,230,-1,199,200,232,-1,199,232,231,-1,200,201,233,-1,200,233,232,-1,201,202,234,-1,201,234,233,-1,202,203,235,-1,202,235,234,-1,203,204,236,-1,203,236,235,-1,204,205,237,-1,204,237,236,-1,205,206,238,-1,205,238,237,-1,206,207,239,-1,206,239,238,-1,207,208,240,-1,207,240,239,-1,208,209,241,-1,208,241,240,-1,209,210,242,-1,209,242,241,-1,210,211,243,-1,210,243,242,-1,211,212,244,-1,211,244,243,-1,212,213,245,-1,212,245,244,-1,213,214,246,-1,213,246,245,-1,214,215,247,-1,214,247,246,-1,215,216,248,-1,215,248,247,-1,216,217,249,-1,216,249,248,-1,217,218,250,-1,217,250,249,-1,218,219,251,-1,218,251,250,-1,219,220,252,-1,219,252,251,-1,220,221,253,-1,220,253,252,-1,221,222,254,-1,221,254,253,-1,222,223,255,-1,222,255,254,-1,223,194,226,-1,223,226,255,-1,225,224,256,-1,225,256,257,-1,225,257,258,-1,225,258,226,-1,224,227,259,-1,224,259,256,-1,227,228,260,-1,227,260,259,-1,228,229,261,-1,228,261,260,-1,229,230,262,-1,229,262,261,-1,230,231,263,-1,230,263,262,-1,231,232,264,-1,231,264,263,-1,232,233,265,-1,232,265,264,-1,233,234,266,-1,233,266,265,-1,234,235,267,-1,234,267,266,-1,235,236,268,-1,235,268,267,-1,236,237,269,-1,236,269,268,-1,237,238,270,-1,237,270,269,-1,238,239,271,-1,238,271,270,-1,239,240,272,-1,239,272,271,-1,240,241,273,-1,240,273,272,-1,241,242,274,-1,241,274,273,-1,242,243,275,-1,242,275,274,-1,243,244,276,-1,243,276,275,-1,244,245,277,-1,244,277,276,-1,245,246,278,-1,245,278,277,-1,246,247,279,-1,246,279,278,-1,247,248,280,-1,247,280,279,-1,248,249,281,-1,248,281,280,-1,249,250,282,-1,249,282,281,-1,250,251,283,-1,250,283,282,-1,251,252,284,-1,251,284,283,-1,252,253,285,-1,252,285,284,-1,253,254,286,-1,253,286,285,-1,254,255,287,-1,254,287,286,-1,255,226,258,-1,255,258,287,-1,257,256,259,-1,257,259,260,-1,257,260,261,-1,257,261,262,-1,257,262,263,-1,257,263,264,-1,257,264,265,-1,257,265,266,-1,257,266,267,-1,257,267,268,-1,257,268,269,-1,257,269,270,-1,257,270,271,-1,257,271,272,-1,257,272,273,-1,257,273,274,-1,257,274,275,-1,257,275,276,-1,257,276,277,-1,257,277,278,-1,257,278,279,-1,257,279,280,-1,257,280,281,-1,257,281,282,-1,257,282,283,-1,257,283,284,-1,257,284,285,-1,257,285,286,-1,257,286,287,-1,257,287,258,-1])).setCreaseAngle(x3dpsail.SFFloat(1.047)).setTexCoordIndex(x3dpsail.MFInt32([0,1,2,-1,0,2,3,-1,0,4,5,-1,0,5,6,-1,0,3,7,-1,0,7,4,-1,0,6,8,-1,0,8,1,-1,1,9,10,-1,1,10,2,-1,1,8,11,-1,1,11,9,-1,9,12,13,-1,9,13,10,-1,9,11,14,-1,9,14,12,-1,12,15,16,-1,12,16,13,-1,12,14,17,-1,12,17,15,-1,15,18,19,-1,15,19,16,-1,15,17,20,-1,15,20,18,-1,18,21,22,-1,18,22,19,-1,18,20,23,-1,18,23,21,-1,21,24,25,-1,21,25,22,-1,21,23,26,-1,21,26,24,-1,24,27,28,-1,24,28,25,-1,24,26,29,-1,24,29,27,-1,27,30,31,-1,27,31,28,-1,27,29,32,-1,27,32,30,-1,30,33,34,-1,30,34,31,-1,30,32,35,-1,30,35,33,-1,33,36,37,-1,33,37,34,-1,33,35,38,-1,33,38,36,-1,36,39,40,-1,36,40,37,-1,36,38,41,-1,36,41,39,-1,39,42,43,-1,39,43,40,-1,39,41,44,-1,39,44,42,-1,42,45,46,-1,42,46,43,-1,42,44,47,-1,42,47,45,-1,45,48,49,-1,45,49,46,-1,45,47,50,-1,45,50,48,-1,48,51,52,-1,48,52,49,-1,48,50,53,-1,48,53,51,-1,51,54,55,-1,51,55,52,-1,51,53,56,-1,51,56,54,-1,54,57,58,-1,54,58,55,-1,54,56,59,-1,54,59,57,-1,57,60,61,-1,57,61,58,-1,57,59,62,-1,57,62,60,-1,60,63,64,-1,60,64,61,-1,60,62,65,-1,60,65,63,-1,63,66,67,-1,63,67,64,-1,63,65,68,-1,63,68,66,-1,66,69,70,-1,66,70,67,-1,66,68,71,-1,66,71,69,-1,69,72,73,-1,69,73,70,-1,69,71,74,-1,69,74,72,-1,72,75,76,-1,72,76,73,-1,72,74,77,-1,72,77,75,-1,78,79,80,-1,78,80,81,-1,78,82,83,-1,78,83,79,-1,79,84,85,-1,79,85,80,-1,79,83,86,-1,79,86,84,-1,84,87,88,-1,84,88,85,-1,84,86,89,-1,84,89,87,-1,87,90,91,-1,87,91,88,-1,87,89,92,-1,87,92,90,-1,90,93,94,-1,90,94,91,-1,90,92,95,-1,90,95,93,-1,93,96,97,-1,93,97,94,-1,93,95,98,-1,93,98,96,-1,96,4,7,-1,96,7,97,-1,96,98,5,-1,96,5,4,-1,3,2,99,-1,3,99,100,-1,3,100,101,-1,3,101,7,-1,2,10,102,-1,2,102,99,-1,10,13,103,-1,10,103,102,-1,13,16,104,-1,13,104,103,-1,16,19,105,-1,16,105,104,-1,19,22,106,-1,19,106,105,-1,22,25,107,-1,22,107,106,-1,25,28,108,-1,25,108,107,-1,28,31,109,-1,28,109,108,-1,31,34,110,-1,31,110,109,-1,34,37,111,-1,34,111,110,-1,37,40,112,-1,37,112,111,-1,40,43,113,-1,40,113,112,-1,43,46,114,-1,43,114,113,-1,46,49,115,-1,46,115,114,-1,49,52,116,-1,49,116,115,-1,52,55,117,-1,52,117,116,-1,55,58,118,-1,55,118,117,-1,58,61,119,-1,58,119,118,-1,61,64,120,-1,61,120,119,-1,64,67,121,-1,64,121,120,-1,67,70,122,-1,67,122,121,-1,70,73,123,-1,70,123,122,-1,73,76,124,-1,73,124,123,-1,81,80,125,-1,81,125,126,-1,80,85,127,-1,80,127,125,-1,85,88,128,-1,85,128,127,-1,88,91,129,-1,88,129,128,-1,91,94,130,-1,91,130,129,-1,94,97,131,-1,94,131,130,-1,97,7,101,-1,97,101,131,-1,8,6,132,-1,8,132,133,-1,8,133,134,-1,8,134,11,-1,6,5,135,-1,6,135,132,-1,5,98,136,-1,5,136,135,-1,98,95,137,-1,98,137,136,-1,95,92,138,-1,95,138,137,-1,92,89,139,-1,92,139,138,-1,89,86,140,-1,89,140,139,-1,86,83,141,-1,86,141,140,-1,83,82,142,-1,83,142,141,-1,77,74,143,-1,77,143,144,-1,74,71,145,-1,74,145,143,-1,71,68,146,-1,71,146,145,-1,68,65,147,-1,68,147,146,-1,65,62,148,-1,65,148,147,-1,62,59,149,-1,62,149,148,-1,59,56,150,-1,59,150,149,-1,56,53,151,-1,56,151,150,-1,53,50,152,-1,53,152,151,-1,50,47,153,-1,50,153,152,-1,47,44,154,-1,47,154,153,-1,44,41,155,-1,44,155,154,-1,41,38,156,-1,41,156,155,-1,38,35,157,-1,38,157,156,-1,35,32,158,-1,35,158,157,-1,32,29,159,-1,32,159,158,-1,29,26,160,-1,29,160,159,-1,26,23,161,-1,26,161,160,-1,23,20,162,-1,23,162,161,-1,20,17,163,-1,20,163,162,-1,17,14,164,-1,17,164,163,-1,14,11,134,-1,14,134,164,-1,133,132,165,-1,133,165,166,-1,133,166,167,-1,133,167,134,-1,132,135,168,-1,132,168,165,-1,135,136,169,-1,135,169,168,-1,136,137,170,-1,136,170,169,-1,137,138,171,-1,137,171,170,-1,138,139,172,-1,138,172,171,-1,139,140,173,-1,139,173,172,-1,140,141,174,-1,140,174,173,-1,141,142,175,-1,141,175,174,-1,144,143,176,-1,144,176,177,-1,143,145,178,-1,143,178,176,-1,145,146,179,-1,145,179,178,-1,146,147,180,-1,146,180,179,-1,147,148,181,-1,147,181,180,-1,148,149,182,-1,148,182,181,-1,149,150,183,-1,149,183,182,-1,150,151,184,-1,150,184,183,-1,151,152,185,-1,151,185,184,-1,152,153,186,-1,152,186,185,-1,153,154,187,-1,153,187,186,-1,154,155,188,-1,154,188,187,-1,155,156,189,-1,155,189,188,-1,156,157,190,-1,156,190,189,-1,157,158,191,-1,157,191,190,-1,158,159,192,-1,158,192,191,-1,159,160,193,-1,159,193,192,-1,160,161,194,-1,160,194,193,-1,161,162,195,-1,161,195,194,-1,162,163,196,-1,162,196,195,-1,163,164,197,-1,163,197,196,-1,164,134,167,-1,164,167,197,-1,166,165,198,-1,166,198,199,-1,166,199,200,-1,166,200,167,-1,165,168,201,-1,165,201,198,-1,168,169,202,-1,168,202,201,-1,169,170,203,-1,169,203,202,-1,170,171,204,-1,170,204,203,-1,171,172,205,-1,171,205,204,-1,172,173,206,-1,172,206,205,-1,173,174,207,-1,173,207,206,-1,174,175,208,-1,174,208,207,-1,177,176,209,-1,177,209,210,-1,176,178,211,-1,176,211,209,-1,178,179,212,-1,178,212,211,-1,179,180,213,-1,179,213,212,-1,180,181,214,-1,180,214,213,-1,181,182,215,-1,181,215,214,-1,182,183,216,-1,182,216,215,-1,183,184,217,-1,183,217,216,-1,184,185,218,-1,184,218,217,-1,185,186,219,-1,185,219,218,-1,186,187,220,-1,186,220,219,-1,187,188,221,-1,187,221,220,-1,188,189,222,-1,188,222,221,-1,189,190,223,-1,189,223,222,-1,190,191,224,-1,190,224,223,-1,191,192,225,-1,191,225,224,-1,192,193,226,-1,192,226,225,-1,193,194,227,-1,193,227,226,-1,194,195,228,-1,194,228,227,-1,195,196,229,-1,195,229,228,-1,196,197,230,-1,196,230,229,-1,197,167,200,-1,197,200,230,-1,100,99,102,-1,100,102,103,-1,100,103,104,-1,100,104,105,-1,100,105,106,-1,100,106,107,-1,100,107,108,-1,100,108,109,-1,100,109,110,-1,100,110,111,-1,100,111,112,-1,100,112,113,-1,100,113,114,-1,100,114,115,-1,100,115,116,-1,100,116,117,-1,100,117,118,-1,100,118,119,-1,100,119,120,-1,100,120,121,-1,100,121,122,-1,100,122,123,-1,100,123,126,-1,100,126,125,-1,100,125,127,-1,100,127,128,-1,100,128,129,-1,100,129,130,-1,100,130,131,-1,100,131,101,-1,199,198,198,-1,199,198,231,-1,199,231,232,-1,199,232,200,-1,198,201,233,-1,198,233,198,-1,201,202,234,-1,201,234,233,-1,202,203,235,-1,202,235,234,-1,203,204,204,-1,203,204,235,-1,204,205,236,-1,204,236,204,-1,205,206,237,-1,205,237,236,-1,206,207,238,-1,206,238,237,-1,207,208,208,-1,207,208,238,-1,210,209,239,-1,210,239,210,-1,209,211,240,-1,209,240,239,-1,211,212,241,-1,211,241,240,-1,212,213,213,-1,212,213,241,-1,213,214,242,-1,213,242,213,-1,214,215,243,-1,214,243,242,-1,215,216,244,-1,215,244,243,-1,216,217,217,-1,216,217,244,-1,217,218,245,-1,217,245,217,-1,218,219,246,-1,218,246,245,-1,219,220,247,-1,219,247,246,-1,220,221,221,-1,220,221,247,-1,221,222,248,-1,221,248,221,-1,222,223,249,-1,222,249,248,-1,223,224,250,-1,223,250,249,-1,224,225,225,-1,224,225,250,-1,225,226,251,-1,225,251,225,-1,226,227,252,-1,226,252,251,-1,227,228,253,-1,227,253,252,-1,228,229,229,-1,228,229,253,-1,229,230,254,-1,229,254,229,-1,230,200,232,-1,230,232,254,-1,231,198,255,-1,231,255,256,-1,231,256,257,-1,231,257,232,-1,198,233,258,-1,198,258,255,-1,233,234,259,-1,233,259,258,-1,234,235,260,-1,234,260,259,-1,235,204,261,-1,235,261,260,-1,204,236,262,-1,204,262,261,-1,236,237,263,-1,236,263,262,-1,237,238,264,-1,237,264,263,-1,238,208,265,-1,238,265,264,-1,210,239,266,-1,210,266,267,-1,239,240,268,-1,239,268,266,-1,240,241,269,-1,240,269,268,-1,241,213,270,-1,241,270,269,-1,213,242,271,-1,213,271,270,-1,242,243,272,-1,242,272,271,-1,243,244,273,-1,243,273,272,-1,244,217,274,-1,244,274,273,-1,217,245,275,-1,217,275,274,-1,245,246,276,-1,245,276,275,-1,246,247,277,-1,246,277,276,-1,247,221,278,-1,247,278,277,-1,221,248,279,-1,221,279,278,-1,248,249,280,-1,248,280,279,-1,249,250,281,-1,249,281,280,-1,250,225,282,-1,250,282,281,-1,225,251,283,-1,225,283,282,-1,251,252,284,-1,251,284,283,-1,252,253,285,-1,252,285,284,-1,253,229,286,-1,253,286,285,-1,229,254,287,-1,229,287,286,-1,254,232,257,-1,254,257,287,-1,256,255,258,-1,256,258,259,-1,256,259,260,-1,256,260,261,-1,256,261,262,-1,256,262,263,-1,256,263,264,-1,256,264,265,-1,256,265,266,-1,256,266,268,-1,256,268,269,-1,256,269,270,-1,256,270,271,-1,256,271,272,-1,256,272,273,-1,256,273,274,-1,256,274,275,-1,256,275,276,-1,256,276,277,-1,256,277,278,-1,256,278,279,-1,256,279,280,-1,256,280,281,-1,256,281,282,-1,256,282,283,-1,256,283,284,-1,256,284,285,-1,256,285,286,-1,256,286,287,-1,256,287,257,-1]))
                  .setCoord(x3dpsail.Coordinate().setPoint(x3dpsail.MFVec3f([1,0.276,0,0.98079,0.276,0.19509,0.98079,-0.6623,0.19509,1,-0.6623,0,0.98079,0.276,-0.19509,0.93371,0.34,-0.18573,0.952,0.34,0,0.98079,-0.6623,-0.19509,0.93371,0.34,0.18573,0.92388,0.276,0.38268,0.92388,-0.6623,0.38268,0.87953,0.34,0.36432,0.83147,0.276,0.55557,0.83147,-0.6623,0.55557,0.79156,0.34,0.5289,0.70711,0.276,0.70711,0.70711,-0.6623,0.70711,0.67317,0.34,0.67317,0.55557,0.276,0.83147,0.55557,-0.6623,0.83147,0.5289,0.34,0.79156,0.38268,0.276,0.92388,0.38268,-0.6623,0.92388,0.36432,0.34,0.87953,0.19509,0.276,0.98079,0.19509,-0.6623,0.98079,0.18573,0.34,0.93371,0,0.276,1,0,-0.6623,1,0,0.34,0.952,-0.19509,0.276,0.98079,-0.19509,-0.6623,0.98079,-0.18573,0.34,0.93371,-0.38268,0.276,0.92388,-0.38268,-0.6623,0.92388,-0.36432,0.34,0.87953,-0.55557,0.276,0.83147,-0.55557,-0.6623,0.83147,-0.5289,0.34,0.79156,-0.70711,0.276,0.70711,-0.70711,-0.6623,0.70711,-0.67317,0.34,0.67317,-0.83147,0.276,0.55557,-0.83147,-0.6623,0.55557,-0.79156,0.34,0.5289,-0.92388,0.276,0.38268,-0.92388,-0.6623,0.38268,-0.87953,0.34,0.36432,-0.98079,0.276,0.19509,-0.98079,-0.6623,0.19509,-0.93371,0.34,0.18573,-1,0.276,0,-1,-0.6623,0,-0.952,0.34,0,-0.98079,0.276,-0.19509,-0.98079,-0.6623,-0.19509,-0.93371,0.34,-0.18573,-0.92388,0.276,-0.38268,-0.92388,-0.6623,-0.38268,-0.87953,0.34,-0.36432,-0.83147,0.276,-0.55557,-0.83147,-0.6623,-0.55557,-0.79156,0.34,-0.5289,-0.70711,0.276,-0.70711,-0.70711,-0.6623,-0.70711,-0.67317,0.34,-0.67317,-0.55557,0.276,-0.83147,-0.55557,-0.6623,-0.83147,-0.5289,0.34,-0.79156,-0.38268,0.276,-0.92388,-0.38268,-0.6623,-0.92388,-0.36432,0.34,-0.87953,-0.19509,0.276,-0.98079,-0.19509,-0.6623,-0.98079,-0.18573,0.34,-0.93371,0,0.276,-1,0,-0.6623,-1,0,0.34,-0.952,0.19509,0.276,-0.98079,0.19509,-0.6623,-0.98079,0.18573,0.34,-0.93371,0.38268,0.276,-0.92388,0.38268,-0.6623,-0.92388,0.36432,0.34,-0.87953,0.55557,0.276,-0.83147,0.55557,-0.6623,-0.83147,0.5289,0.34,-0.79156,0.70711,0.276,-0.70711,0.70711,-0.6623,-0.70711,0.67317,0.34,-0.67317,0.83147,0.276,-0.55557,0.83147,-0.6623,-0.55557,0.79156,0.34,-0.5289,0.92388,0.276,-0.38268,0.92388,-0.6623,-0.38268,0.87953,0.34,-0.36432,0.28009,-1.53955,0.05571,0.28558,-1.53955,0,0.28009,-1.53955,-0.05571,0.26384,-1.53955,0.10929,0.23745,-1.53955,0.15866,0.20194,-1.53955,0.20194,0.15866,-1.53955,0.23745,0.10929,-1.53955,0.26384,0.05571,-1.53955,0.28009,0,-1.53955,0.28558,-0.05571,-1.53955,0.28009,-0.10929,-1.53955,0.26384,-0.15866,-1.53955,0.23745,-0.20194,-1.53955,0.20194,-0.23745,-1.53955,0.15866,-0.26384,-1.53955,0.10929,-0.28009,-1.53955,0.05571,-0.28558,-1.53955,0,-0.28009,-1.53955,-0.05571,-0.26384,-1.53955,-0.10929,-0.23745,-1.53955,-0.15866,-0.20194,-1.53955,-0.20194,-0.15866,-1.53955,-0.23745,-0.10929,-1.53955,-0.26384,-0.05571,-1.53955,-0.28009,0,-1.53955,-0.28558,0.05571,-1.53955,-0.28009,0.10929,-1.53955,-0.26384,0.15866,-1.53955,-0.23745,0.20194,-1.53955,-0.20194,0.23745,-1.53955,-0.15866,0.26384,-1.53955,-0.10929,0.78826,0.43956,0,0.77311,0.43956,0.15378,0.72825,0.43956,0.30165,0.77311,0.43956,-0.15378,0.72825,0.43956,-0.30165,0.65541,0.43956,-0.43793,0.55738,0.43956,-0.55738,0.43793,0.43956,-0.65541,0.30165,0.43956,-0.72825,0.15378,0.43956,-0.77311,0,0.43956,-0.78826,-0.15378,0.43956,-0.77311,-0.30165,0.43956,-0.72825,-0.43793,0.43956,-0.65541,-0.55738,0.43956,-0.55738,-0.65541,0.43956,-0.43793,-0.72825,0.43956,-0.30165,-0.77311,0.43956,-0.15378,-0.78826,0.43956,0,-0.77311,0.43956,0.15378,-0.72825,0.43956,0.30165,-0.65541,0.43956,0.43793,-0.55738,0.43956,0.55738,-0.43793,0.43956,0.65541,-0.30165,0.43956,0.72825,-0.15378,0.43956,0.77311,0,0.43956,0.78826,0.15378,0.43956,0.77311,0.30165,0.43956,0.72825,0.43793,0.43956,0.65541,0.55738,0.43956,0.55738,0.65541,0.43956,0.43793,0.29638,0.50356,0,0.29069,0.50356,0.05782,0.27382,0.50356,0.11342,0.29069,0.50356,-0.05782,0.27382,0.50356,-0.11342,0.24643,0.50356,-0.16466,0.20958,0.50356,-0.20958,0.16466,0.50356,-0.24643,0.11342,0.50356,-0.27382,0.05782,0.50356,-0.29069,0,0.50356,-0.29638,-0.05782,0.50356,-0.29069,-0.11342,0.50356,-0.27382,-0.16466,0.50356,-0.24643,-0.20958,0.50356,-0.20958,-0.24643,0.50356,-0.16466,-0.27382,0.50356,-0.11342,-0.29069,0.50356,-0.05782,-0.29638,0.50356,0,-0.29069,0.50356,0.05782,-0.27382,0.50356,0.11342,-0.24643,0.50356,0.16466,-0.20958,0.50356,0.20958,-0.16466,0.50356,0.24643,-0.11342,0.50356,0.27382,-0.05782,0.50356,0.29069,0,0.50356,0.29638,0.05782,0.50356,0.29069,0.11342,0.50356,0.27382,0.16466,0.50356,0.24643,0.20958,0.50356,0.20958,0.24643,0.50356,0.16466,0.29638,0.5398,0,0.29069,0.5398,0.05782,0.27382,0.5398,0.11342,0.29069,0.5398,-0.05782,0.27382,0.5398,-0.11342,0.24643,0.5398,-0.16466,0.20958,0.5398,-0.20958,0.16466,0.5398,-0.24643,0.11342,0.5398,-0.27382,0.05782,0.5398,-0.29069,0,0.5398,-0.29638,-0.05782,0.5398,-0.29069,-0.11342,0.5398,-0.27382,-0.16466,0.5398,-0.24643,-0.20958,0.5398,-0.20958,-0.24643,0.5398,-0.16466,-0.27382,0.5398,-0.11342,-0.29069,0.5398,-0.05782,-0.29638,0.5398,0,-0.29069,0.5398,0.05782,-0.27382,0.5398,0.11342,-0.24643,0.5398,0.16466,-0.20958,0.5398,0.20958,-0.16466,0.5398,0.24643,-0.11342,0.5398,0.27382,-0.05782,0.5398,0.29069,0,0.5398,0.29638,0.05782,0.5398,0.29069,0.11342,0.5398,0.27382,0.16466,0.5398,0.24643,0.20958,0.5398,0.20958,0.24643,0.5398,0.16466,0.25311,0.5398,0,0.24825,0.5398,0.04938,0.23385,0.5398,0.09686,0.24825,0.5398,-0.04938,0.23385,0.5398,-0.09686,0.21046,0.5398,-0.14062,0.17898,0.5398,-0.17898,0.14062,0.5398,-0.21046,0.09686,0.5398,-0.23385,0.04938,0.5398,-0.24825,0,0.5398,-0.25311,-0.04938,0.5398,-0.24825,-0.09686,0.5398,-0.23385,-0.14062,0.5398,-0.21046,-0.17898,0.5398,-0.17898,-0.21046,0.5398,-0.14062,-0.23385,0.5398,-0.09686,-0.24825,0.5398,-0.04938,-0.25311,0.5398,0,-0.24825,0.5398,0.04938,-0.23385,0.5398,0.09686,-0.21046,0.5398,0.14062,-0.17898,0.5398,0.17898,-0.14062,0.5398,0.21046,-0.09686,0.5398,0.23385,-0.04938,0.5398,0.24825,0,0.5398,0.25311,0.04938,0.5398,0.24825,0.09686,0.5398,0.23385,0.14062,0.5398,0.21046,0.17898,0.5398,0.17898,0.21046,0.5398,0.14062,0.25311,0.51249,0,0.24825,0.51249,0.04938,0.23385,0.51249,0.09686,0.24825,0.51249,-0.04938,0.23385,0.51249,-0.09686,0.21046,0.51249,-0.14062,0.17898,0.51249,-0.17898,0.14062,0.51249,-0.21046,0.09686,0.51249,-0.23385,0.04938,0.51249,-0.24825,0,0.51249,-0.25311,-0.04938,0.51249,-0.24825,-0.09686,0.51249,-0.23385,-0.14062,0.51249,-0.21046,-0.17898,0.51249,-0.17898,-0.21046,0.51249,-0.14062,-0.23385,0.51249,-0.09686,-0.24825,0.51249,-0.04938,-0.25311,0.51249,0,-0.24825,0.51249,0.04938,-0.23385,0.51249,0.09686,-0.21046,0.51249,0.14062,-0.17898,0.51249,0.17898,-0.14062,0.51249,0.21046,-0.09686,0.51249,0.23385,-0.04938,0.51249,0.24825,0,0.51249,0.25311,0.04938,0.51249,0.24825,0.09686,0.51249,0.23385,0.14062,0.51249,0.21046,0.17898,0.51249,0.17898,0.21046,0.51249,0.14062])))
                  .setTexCoord(x3dpsail.TextureCoordinate().setPoint(x3dpsail.MFVec2f([0.75,0.873,0.719,0.873,0.719,0.422,0.75,0.422,0.781,0.873,0.781,0.904,0.75,0.904,0.781,0.422,0.719,0.904,0.688,0.873,0.688,0.422,0.687,0.904,0.656,0.873,0.656,0.422,0.656,0.904,0.625,0.873,0.625,0.422,0.625,0.904,0.594,0.873,0.594,0.422,0.594,0.904,0.562,0.873,0.562,0.422,0.563,0.904,0.531,0.873,0.531,0.422,0.531,0.904,0.5,0.873,0.5,0.422,0.5,0.904,0.469,0.873,0.469,0.422,0.469,0.904,0.438,0.873,0.438,0.422,0.437,0.904,0.406,0.873,0.406,0.422,0.406,0.904,0.375,0.873,0.375,0.422,0.375,0.904,0.344,0.873,0.344,0.422,0.344,0.904,0.312,0.873,0.312,0.422,0.313,0.904,0.281,0.873,0.281,0.422,0.281,0.904,0.25,0.873,0.25,0.422,0.25,0.904,0.219,0.873,0.219,0.422,0.219,0.904,0.188,0.873,0.188,0.422,0.187,0.904,0.156,0.873,0.156,0.422,0.156,0.904,0.125,0.873,0.125,0.422,0.125,0.904,0.094,0.873,0.094,0.422,0.094,0.904,0.062,0.873,0.062,0.422,0.063,0.904,0.031,0.873,0.031,0.422,0.031,0.904,0,0.873,0,0.422,0,0.904,1,0.873,0.969,0.873,0.969,0.422,1,0.422,1,0.904,0.969,0.904,0.938,0.873,0.938,0.422,0.937,0.904,0.906,0.873,0.906,0.422,0.906,0.904,0.875,0.873,0.875,0.422,0.875,0.904,0.844,0.873,0.844,0.422,0.844,0.904,0.812,0.873,0.812,0.422,0.813,0.904,0.719,0,0.75,0,0.781,0,0.687,0,0.656,0,0.625,0,0.594,0,0.563,0,0.531,0,0.5,0,0.469,0,0.437,0,0.406,0,0.375,0,0.344,0,0.313,0,0.281,0,0.25,0,0.219,0,0.187,0,0.156,0,0.125,0,0.094,0,0.063,0,0.031,0,0,0,0.969,0,1,0,0.937,0,0.906,0,0.875,0,0.844,0,0.813,0,0.75,0.952,0.719,0.952,0.687,0.952,0.781,0.952,0.813,0.952,0.844,0.952,0.875,0.952,0.906,0.952,0.937,0.952,0.969,0.952,1,0.952,0.031,0.952,0,0.952,0.063,0.952,0.094,0.952,0.125,0.952,0.156,0.952,0.187,0.952,0.219,0.952,0.25,0.952,0.281,0.952,0.313,0.952,0.344,0.952,0.375,0.952,0.406,0.952,0.437,0.952,0.469,0.952,0.5,0.952,0.531,0.952,0.563,0.952,0.594,0.952,0.625,0.952,0.656,0.952,0.75,0.983,0.719,0.983,0.688,0.983,0.781,0.983,0.812,0.983,0.844,0.983,0.875,0.983,0.906,0.983,0.938,0.983,0.969,0.983,1,0.983,0.031,0.983,0,0.983,0.062,0.983,0.094,0.983,0.125,0.983,0.156,0.983,0.188,0.983,0.219,0.983,0.25,0.983,0.281,0.983,0.312,0.983,0.344,0.983,0.375,0.983,0.406,0.983,0.438,0.983,0.469,0.983,0.5,0.983,0.531,0.983,0.562,0.983,0.594,0.983,0.625,0.983,0.656,0.983,0.75,1,0.719,1,0.688,1,0.781,1,0.812,1,0.844,1,0.875,1,0.906,1,0.938,1,0.969,1,1,1,0.031,1,0,1,0.062,1,0.094,1,0.125,1,0.156,1,0.188,1,0.219,1,0.25,1,0.281,1,0.312,1,0.344,1,0.375,1,0.406,1,0.438,1,0.469,1,0.5,1,0.531,1,0.562,1,0.594,1,0.625,1,0.656,1,0.719,1,0.688,1,0.781,1,0.813,1,0.844,1,0.906,1,0.938,1,0.969,1,0.031,1,0.063,1,0.094,1,0.156,1,0.187,1,0.219,1,0.281,1,0.313,1,0.344,1,0.406,1,0.437,1,0.469,1,0.531,1,0.563,1,0.594,1,0.656,1,0.75,0.987,0.719,0.987,0.688,0.987,0.781,0.987,0.813,0.987,0.844,0.987,0.875,0.987,0.906,0.987,0.938,0.987,0.969,0.987,1,0.987,0.031,0.987,0,0.987,0.063,0.987,0.094,0.987,0.125,0.987,0.156,0.987,0.187,0.987,0.219,0.987,0.25,0.987,0.281,0.987,0.313,0.987,0.344,0.987,0.375,0.987,0.406,0.987,0.437,0.987,0.469,0.987,0.5,0.987,0.531,0.987,0.563,0.987,0.594,0.987,0.625,0.987,0.656,0.987]))))))))))

X3D0.toFileX3D("./future/./Teapot_RoundTrip.x3d")
Ejemplo n.º 13
0
                 x3dpsail.SFBool(False)).
 setCoord(x3dpsail.Coordinate().setPoint(
     x3dpsail.MFVec3f([
         -5.25, 5.25, 0, -3.75, 5.25, 0, -2.25,
         5.25, 0, -0.75, 5.25, 0, 0.75, 5.25, 0,
         2.25, 5.25, 0, 3.75, 5.25, 0, 5.25, 5.25,
         0, -5.25, 3.75, 0, -3.75, 3.75, 0, -2.25,
         3.75, 0, -0.75, 3.75, 0, 0.75, 3.75, 0,
         2.25, 3.75, 0, 3.75, 3.75, 0, 5.25, 3.75,
         0, -5.25, 2.25, 0, -3.75, 2.25, 0, -2.25,
         2.25, 0, -0.75, 2.25, 0, 0.75, 2.25, 0,
         2.25, 2.25, 0, 3.75, 2.25, 0, 5.25, 2.25,
         0, -5.25, 0.75, 0, -3.75, 0.75, 0, -2.25,
         0.75, 0, -0.75, 0.75, 0, 0.75, 0.75, 0,
         2.25, 0.75, 0, 3.75, 0.75, 0, 5.25, 0.75,
         0, -5.25, -0.75, 0, -3.75, -0.75, 0, -2.25,
         -0.75, 0, -0.75, -0.75, 0, 0.75, -0.75, 0,
         2.25, -0.75, 0, 3.75, -0.75, 0, 5.25,
         -0.75, 0, -5.25, -2.25, 0, -3.75, -2.25, 0,
         -2.25, -2.25, 0, -0.75, -2.25, 0, 0.75,
         -2.25, 0, 2.25, -2.25, 0, 3.75, -2.25, 0,
         5.25, -2.25, 0, -5.25, -3.75, 0, -3.75,
         -3.75, 0, -2.25, -3.75, 0, -0.75, -3.75, 0,
         0.75, -3.75, 0, 2.25, -3.75, 0, 3.75,
         -3.75, 0, 5.25, -3.75, 0, -5.25, -5.25, 0,
         -3.75, -5.25, 0, -2.25, -5.25, 0, -0.75,
         -5.25, 0, 0.75, -5.25, 0, 2.25, -5.25, 0,
         3.75, -5.25, 0, 5.25, -5.25, 0
     ]))).setColor(x3dpsail.Color().setColor(
         x3dpsail.MFColor(
             [0.5, 0.5, 0.5, 0.75, 0.75,