<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Oh, that resources folder!</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>There was only one problem with that gears.json, namely, it had an embedded .x3d URL instead of a .json URL.   But I replaced .x3d with .json and it worked.  Woohoo!  I am happy.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The folders are quite different, see below.   The main differences are the vrmlscript, though.  Don, can you ASAP revert X3dToJson.xslt back so that VRMLScript/ECMAScript is no longer scrunched together on a single line?  I think that might be causing issues. I don’t want to have to set a parameter to get old behavior.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thank goodness I kept that around in the resources folder!</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>John</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>diff -wr Gears/gears.json Gears.old/gears.json</p><p class=MsoNormal>39c39</p><p class=MsoNormal><             "@content":"02 May 2017"</p><p class=MsoNormal>---</p><p class=MsoNormal>>             "@content":"30 January 2018"</p><p class=MsoNormal>250,463c250</p><p class=MsoNormal>< "vrmlscript:",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "function initialize ()",</p><p class=MsoNormal>< "{",</p><p class=MsoNormal>< "\teventsProcessed ();",</p><p class=MsoNormal>< "}",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "function eventsProcessed ()",</p><p class=MsoNormal>< "{",</p><p class=MsoNormal>< "\tprint ('### Generating gear ...');",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tvar indices = new MFInt32 ();",</p><p class=MsoNormal>< "\tvar points  = new MFVec3f ();",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tvar cos = Math .cos;",</p><p class=MsoNormal>< "\tvar sin = Math .sin;",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t// Radien and tooth angle",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tvar radius0 = innerRadius;",</p><p class=MsoNormal>< "\tvar radius1 = outerRadius - toothDepth / 2;",</p><p class=MsoNormal>< "\tvar radius2 = outerRadius + toothDepth / 2;",</p><p class=MsoNormal>< "\tvar da = 2 * Math .PI / teeth / 4;",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t// Front vectors",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tvar vectorf0 = new SFVec3f (radius0, 0, width * 0.5);",</p><p class=MsoNormal>< "\tvar vectorf1 = new SFVec3f (radius1, 0, width * 0.5);",</p><p class=MsoNormal>< "\tvar vectorf2 = new SFVec3f (radius2, 0, width * 0.5);",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t// Back vectors",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tvar vectorb0 = new SFVec3f (radius0, 0, -width * 0.5);",</p><p class=MsoNormal>< "\tvar vectorb1 = new SFVec3f (radius1, 0, -width * 0.5);",</p><p class=MsoNormal>< "\tvar vectorb2 = new SFVec3f (radius2, 0, -width * 0.5);",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t// Generate front face indices",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tfor (var i = 0; i < teeth; ++ i)",</p><p class=MsoNormal>< "\t{",</p><p class=MsoNormal>< "\t\tvar index = i * 3;",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t\tindices [indices .length] = index;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = index + 1;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = index + 2;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = index + 4;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = index + 3;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = -1;",</p><p class=MsoNormal>< "\t}",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t// Generate front face points",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tfor (var i = 0; i < teeth + 1; ++ i)",</p><p class=MsoNormal>< "\t{",</p><p class=MsoNormal>< "\t\tvar angle = i * 2 * Math .PI / teeth;",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle)          .multVec (vectorf0);",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle)          .multVec (vectorf1);",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle + 3 * da) .multVec (vectorf1);",</p><p class=MsoNormal>< "\t}",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tpoints .length = points .length - 1;",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tpoints [points .length] = new SFVec3f ();",</p><p class=MsoNormal>< "\tpoints [points .length] = new SFVec3f ();",</p><p class=MsoNormal>< "\tpoints [points .length] = new SFVec3f ();",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t// Generate front sides of teeth indices",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tfor (var i = 0; i < teeth; ++ i)",</p><p class=MsoNormal>< "\t{",</p><p class=MsoNormal>< "\t\tvar index = i * 4;",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index + 1;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index + 2;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index + 3;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = -1;",</p><p class=MsoNormal>< "\t}",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t// Generate front sides of teeth points",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tfor (var i = 0; i < teeth; ++ i)",</p><p class=MsoNormal>< "\t{",</p><p class=MsoNormal>< "\t\tvar angle = i * 2 * Math .PI / teeth;",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle)          .multVec (vectorf1);",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle + da)     .multVec (vectorf2);",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle + 2 * da) .multVec (vectorf2);",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle + 3 * da) .multVec (vectorf1);",</p><p class=MsoNormal>< "\t}",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t// Generate back face indices",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tfor (var i = 0; i < teeth; ++ i)",</p><p class=MsoNormal>< "\t{",</p><p class=MsoNormal>< "\t\tvar index = i * 3;",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index + 3;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index + 4;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index + 2;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index + 1;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = -1;",</p><p class=MsoNormal>< "\t}",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t// Generate back face points",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tfor (var i = 0; i < teeth + 1; ++ i)",</p><p class=MsoNormal>< "\t{",</p><p class=MsoNormal>< "\t\tvar angle = i * 2 * Math .PI / teeth;",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle)          .multVec (vectorb0);",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle)          .multVec (vectorb1);",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle + 3 * da) .multVec (vectorb1);",</p><p class=MsoNormal>< "\t}",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tpoints .length = points .length - 1;",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t// Generate back sides of teeth indices",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tfor (var i = 0; i < teeth; ++ i)",</p><p class=MsoNormal>< "\t{",</p><p class=MsoNormal>< "\t\tvar index = i * 4;",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index + 1;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index + 2;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index + 3;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = -1;",</p><p class=MsoNormal>< "\t}",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t// Generate front sides of teeth points",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tfor (var i = 0; i < teeth; ++ i)",</p><p class=MsoNormal>< "\t{",</p><p class=MsoNormal>< "\t\tvar angle = i * 2 * Math .PI / teeth;",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle + 3 * da) .multVec (vectorb1);",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle + 2 * da) .multVec (vectorb2);",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle + da)     .multVec (vectorb2);",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle)          .multVec (vectorb1);",</p><p class=MsoNormal>< "\t}",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t// Generate outward faces of teeth indices",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tfor (var i = 0; i < teeth * 4; ++ i)",</p><p class=MsoNormal>< "\t{",</p><p class=MsoNormal>< "\t\tvar index = i * 2;",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index + 1;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index + 3;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index + 2;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = -1;",</p><p class=MsoNormal>< "\t}",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tindices [indices .length - 3] = points .length + 1;",</p><p class=MsoNormal>< "\tindices [indices .length - 2] = points .length;",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t// Generate outward faces of teeth points",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tfor (var i = 0; i < teeth; ++ i)",</p><p class=MsoNormal>< "\t{",</p><p class=MsoNormal>< "\t   var angle = i * 2 * Math .PI / teeth;",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle) .multVec (vectorf1);",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle) .multVec (vectorb1);",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle + da) .multVec (vectorf2);",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle + da) .multVec (vectorb2);",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle + 2 * da) .multVec (vectorf2);",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle + 2 * da) .multVec (vectorb2);",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle + 3 * da) .multVec (vectorf1);",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle + 3 * da) .multVec (vectorb1);",</p><p class=MsoNormal>< "\t}",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t// Generate inside radius cylinder points",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tfor (var i = 0; i < teeth; ++ i)",</p><p class=MsoNormal>< "\t{",</p><p class=MsoNormal>< "\t\tvar index = i * 2;",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index + 1;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index + 3;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = points .length + index + 2;",</p><p class=MsoNormal>< "\t\tindices [indices .length] = -1;",</p><p class=MsoNormal>< "\t}",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tindices [indices .length - 3] = points .length + 1;",</p><p class=MsoNormal>< "\tindices [indices .length - 2] = points .length;",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\t// Generate inside radius cylinder indices",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tfor (var i = 0; i < teeth + 1; ++ i)",</p><p class=MsoNormal>< "\t{",</p><p class=MsoNormal>< "\t\tvar angle = i * 2 * Math .PI / teeth;",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle) .multVec (vectorb0);",</p><p class=MsoNormal>< "\t\tpoints [points .length] = new SFRotation (0, 0, 1, angle) .multVec (vectorf0);",</p><p class=MsoNormal>< "\t}",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tprint ('### Generating gear done.');",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tgear .coord .point   = points;",</p><p class=MsoNormal>< "\tgear .set_coordIndex = indices;",</p><p class=MsoNormal>< "}"</p><p class=MsoNormal>---</p><p class=MsoNormal>> "vrmlscript: function initialize () { eventsProcessed (); } function eventsProcessed () { print ('### Generating gear ...'); var indices = new MFInt32 (); var points = new MFVec3f (); var cos = Math .cos; var sin = Math .sin; // Radien and tooth angle var radius0 = innerRadius; var radius1 = outerRadius - toothDepth / 2; var radius2 = outerRadius + toothDepth / 2; var da = 2 * Math .PI / teeth / 4; // Front vectors var vectorf0 = new SFVec3f (radius0, 0, width * 0.5); var vectorf1 = new SFVec3f (radius1, 0, width * 0.5); var vectorf2 = new SFVec3f (radius2, 0, width * 0.5); // Back vectors var vectorb0 = new SFVec3f (radius0, 0, -width * 0.5); var vectorb1 = new SFVec3f (radius1, 0, -width * 0.5); var vectorb2 = new SFVec3f (radius2, 0, -width * 0.5); // Generate front face indices for (var i = 0; i < teeth; ++ i) { var index = i * 3; indices [indices .length] = index; indices [indices .length] = index + 1; indices [indices .length] = index + 2; indices [indices .length] = index + 4; indices [indices .length] = index + 3; indices [indices .length] = -1; } // Generate front face points for (var i = 0; i < teeth + 1; ++ i) { var angle = i * 2 * Math .PI / teeth; points [points .length] = new SFRotation (0, 0, 1, angle) .multVec (vectorf0); points [points .length] = new SFRotation (0, 0, 1, angle) .multVec (vectorf1); points [points .length] = new SFRotation (0, 0, 1, angle + 3 * da) .multVec (vectorf1); } points .length = points .length - 1; points [points .length] = new SFVec3f (); points [points .length] = new SFVec3f (); points [points .length] = new SFVec3f (); // Generate front sides of teeth indices for (var i = 0; i < teeth; ++ i) { var index = i * 4; indices [indices .length] = points .length + index; indices [indices .length] = points .length + index + 1; indices [indices .length] = points .length + index + 2; indices [indices .length] = points .length + index + 3; indices [indices .length] = -1; } // Generate front sides of teeth points for (var i = 0; i < teeth; ++ i) { var angle = i * 2 * Math .PI / teeth; points [points .length] = new SFRotation (0, 0, 1, angle) .multVec (vectorf1); points [points .length] = new SFRotation (0, 0, 1, angle + da) .multVec (vectorf2); points [points .length] = new SFRotation (0, 0, 1, angle + 2 * da) .multVec (vectorf2); points [points .length] = new SFRotation (0, 0, 1, angle + 3 * da) .multVec (vectorf1); } // Generate back face indices for (var i = 0; i < teeth; ++ i) { var index = i * 3; indices [indices .length] = points .length + index; indices [indices .length] = points .length + index + 3; indices [indices .length] = points .length + index + 4; indices [indices .length] = points .length + index + 2; indices [indices .length] = points .length + index + 1; indices [indices .length] = -1; } // Generate back face points for (var i = 0; i < teeth + 1; ++ i) { var angle = i * 2 * Math .PI / teeth; points [points .length] = new SFRotation (0, 0, 1, angle) .multVec (vectorb0); points [points .length] = new SFRotation (0, 0, 1, angle) .multVec (vectorb1); points [points .length] = new SFRotation (0, 0, 1, angle + 3 * da) .multVec (vectorb1); } points .length = points .length - 1; // Generate back sides of teeth indices for (var i = 0; i < teeth; ++ i) { var index = i * 4; indices [indices .length] = points .length + index; indices [indices .length] = points .length + index + 1; indices [indices .length] = points .length + index + 2; indices [indices .length] = points .length + index + 3; indices [indices .length] = -1; } // Generate front sides of teeth points for (var i = 0; i < teeth; ++ i) { var angle = i * 2 * Math .PI / teeth; points [points .length] = new SFRotation (0, 0, 1, angle + 3 * da) .multVec (vectorb1); points [points .length] = new SFRotation (0, 0, 1, angle + 2 * da) .multVec (vectorb2); points [points .length] = new SFRotation (0, 0, 1, angle + da) .multVec (vectorb2); points [points .length] = new SFRotation (0, 0, 1, angle) .multVec (vectorb1); } // Generate outward faces of teeth indices for (var i = 0; i < teeth * 4; ++ i) { var index = i * 2; indices [indices .length] = points .length + index; indices [indices .length] = points .length + index + 1; indices [indices .length] = points .length + index + 3; indices [indices .length] = points .length + index + 2; indices [indices .length] = -1; } indices [indices .length - 3] = points .length + 1; indices [indices .length - 2] = points .length; // Generate outward faces of teeth points for (var i = 0; i < teeth; ++ i) { var angle = i * 2 * Math .PI / teeth; points [points .length] = new SFRotation (0, 0, 1, angle) .multVec (vectorf1); points [points .length] = new SFRotation (0, 0, 1, angle) .multVec (vectorb1); points [points .length] = new SFRotation (0, 0, 1, angle + da) .multVec (vectorf2); points [points .length] = new SFRotation (0, 0, 1, angle + da) .multVec (vectorb2); points [points .length] = new SFRotation (0, 0, 1, angle + 2 * da) .multVec (vectorf2); points [points .length] = new SFRotation (0, 0, 1, angle + 2 * da) .multVec (vectorb2); points [points .length] = new SFRotation (0, 0, 1, angle + 3 * da) .multVec (vectorf1); points [points .length] = new SFRotation (0, 0, 1, angle + 3 * da) .multVec (vectorb1); } // Generate inside radius cylinder points for (var i = 0; i < teeth; ++ i) { var index = i * 2; indices [indices .length] = points .length + index; indices [indices .length] = points .length + index + 1; indices [indices .length] = points .length + index + 3; indices [indices .length] = points .length + index + 2; indices [indices .length] = -1; } indices [indices .length - 3] = points .length + 1; indices [indices .length - 2] = points .length; // Generate inside radius cylinder indices for (var i = 0; i < teeth + 1; ++ i) { var angle = i * 2 * Math .PI / teeth; points [points .length] = new SFRotation (0, 0, 1, angle) .multVec (vectorb0); points [points .length] = new SFRotation (0, 0, 1, angle) .multVec (vectorf0); } print ('### Generating gear done.'); gear .coord .point = points; gear .set_coordIndex = indices; }"</p><p class=MsoNormal>Only in Gears.old: gears.x3dv</p><p class=MsoNormal>diff -wr Gears/Rotor.json Gears.old/Rotor.json</p><p class=MsoNormal>31c31</p><p class=MsoNormal><             "@content":"02 May 2017"</p><p class=MsoNormal>---</p><p class=MsoNormal>>             "@content":"30 January 2018"</p><p class=MsoNormal>227,248c227</p><p class=MsoNormal>< "vrmlscript:",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "function initialize ()",</p><p class=MsoNormal>< "{",</p><p class=MsoNormal>< "\teventsProcessed ();",</p><p class=MsoNormal>< "}",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "function set_axis ()",</p><p class=MsoNormal>< "{ }",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "function set_angle ()",</p><p class=MsoNormal>< "{ }",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "function eventsProcessed ()",</p><p class=MsoNormal>< "{",</p><p class=MsoNormal>< "\tvar keyValue = interpolator .keyValue;",</p><p class=MsoNormal>< "",</p><p class=MsoNormal>< "\tfor (var i = 0; i < 4; ++ i)",</p><p class=MsoNormal>< "\t\tkeyValue [i] = new SFRotation (axis, angle + 2 * Math .PI / 4 * i);",</p><p class=MsoNormal>< "\t",</p><p class=MsoNormal>< "\tkeyValue [4] = keyValue [0];",</p><p class=MsoNormal>< "}"</p><p class=MsoNormal>---</p><p class=MsoNormal>> "vrmlscript: function initialize () { eventsProcessed (); } function set_axis () { } function set_angle () { } function eventsProcessed () { var keyValue = interpolator .keyValue; for (var i = 0; i < 4; ++ i) keyValue [i] = new SFRotation (axis, angle + 2 * Math .PI / 4 * i); keyValue [4] = keyValue [0]; }"</p><p class=MsoNormal>Only in Gears.old: Rotor.x3dv</p></div></body></html>