<div dir="ltr"><div dir="ltr"><div dir="ltr">I'm going to list what I do in hopes that it can be parameterized and scripted. Don, I found a quicker way to download a subdirectory from sourceforge without doing a whole checkout.   See next 3 lines.<div><br></div><div>$ cd /c/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/">www.web3d.org/x3d/content/examples/</a></div><div>$ rm -rf HumanoidAnimation/<br></div><div>$ svn up</div><div>$ cd HumanoidAnimation/</div><div><br></div><div>// This got rid of all the deleted folders that I couldn't svn diff because they were deleted.</div><div><br></div><div>//  And, I didn't have to do a massive checkout of the whole tree or zip and uncompress, etc.</div><div><br></div><div>$ find . -name '*.x3d'|wc<br>     79      79    2887<br></div><div><br></div><div>// This agreed with the web site for # of models.</div><div><br></div><div>$ mkdir ~/X3DJSONLD/src/main/data/data</div><br></div><div>// create a folder in X3DJSONLD to copy x3d files to</div><div><br></div><div>$ cp -r `find . -type f -name '*.x3d'` ~/X3DJSONLD/src/main/data/data</div><br></div><div>// copy files to folder created</div><div><br></div><div>cd ~/X3DJSONLD/src/main/data/data<br></div><div><br></div><div>// go there</div><div><br></div><div>$ ls|wc</div>     64      64    1522<div><br></div><div>// dang, we lost 15 models.  Rewind.</div><div><br></div><div><br></div><div><div>$ cd /c/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/HumanoidAnimation/">www.web3d.org/x3d/content/examples/HumanoidAnimation/</a></div><div><br></div><div><div>$ find . -name '*.x3d' | awk -F/ '{ print $3; }'|sort | uniq -c|sort -n</div><div>[...snip...]</div><div></div></div><div>     1 MaskAndSnorkel.x3d<br>      1 NancyDiving.x3d<br>      1 NancyDivingProtoInstances.x3d<br>      1 NancyNativeTags.x3d<br>      1 NancyPrototypes.x3d<br>      1 NancyStandShootRifleM24.x3d<br>      1 RotationTests.x3d<br>      1 ScubaTank.x3d<br>      2 HAnimSpecificationLOA3Illustrated.x3d<br>      2 HAnimSpecificationLOA3Invisible.x3d<br>      2 HAnimSpecificationLOA3Motion.x3d<br>      2 KoreanCharacter01Jin.x3d<br>      2 KoreanCharacter02Chul.x3d<br>      2 KoreanCharacter03Hyun.x3d<br>      2 KoreanCharacter04Young.x3d<br>      2 KoreanCharacter05Ju.x3d<br>      2 KoreanCharacter06Ga.x3d<br>      2 KoreanCharacter07No.x3d<br>      2 KoreanCharacter08Da.x3d<br>      2 KoreanCharacter09Ru.x3d<br>      2 KoreanCharacter10Mi.x3d<br>      2 KoreanCharacter11Min.x3d<br>      2 KoreanCharacter12Sun.x3d<br></div><div><br></div></div><div>// Ah, 15 models are mentioned twice in the file system.  Ok!</div><div><br></div><div>$  cd ~/X3DJSONLD/src/main/data/data </div><div><br></div><div>// go back <br></div><div><br></div><div>$ cd ..</div><div>$ rm KoreanCharacter*.x3d*<br></div><div>$ rm Joe*.x3d*<br></div><div>$ rm BoxMan*.x3d*<br></div><div>$ rm HAnim*.x3d*</div><div>$ rm skeleton.*<br>$ rm annexdA.*<br></div><div><br></div><div>// clear out old files</div><div><br></div><div>$ cd data</div><div>$ cp Korean* Joe* Box* HAnim* ..</div><div><br></div><div>// restore subset of files</div><div><br></div><div>$ cd ../..</div><div><br></div><div>$ rm */net/x3djsonld/data/*</div><div><br></div><div>// remove stylesheet produced source code</div><div><br></div><div>$ cd shell</div><div><br></div><div>// prepare for processing</div><div><br></div><div>$ sh donlocal.sh</div><div><br></div><div>// run stylesheets, compile,etc.  Get a cup of coffee to ease pains, stretch!</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 23, 2020 at 11:47 AM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">We can also peruse the exported x3d from view3dscene on the LOA files from HAnim 2 part 1 (and possibly others), and make sure that it's appropriate for X3dToJava.xslt to process!<div><br>LOA*.x3d files are here:</div><div><br></div><div><a href="https://github.com/coderextreme/X3DJSONLD/tree/master/src/main/data" target="_blank">https://github.com/coderextreme/X3DJSONLD/tree/master/src/main/data</a><br></div><div><br></div><div>John</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 23, 2020 at 11:38 AM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I collected the Java files in my folder sfrom X3dToJava.xslt and ran them all through java.  Attached are the compilation errors.<div><br></div><div>The source is here:</div><div><br></div><div><a href="https://github.com/coderextreme/X3DJSONLD/tree/master/src/main/java/net/x3djsonld/data" target="_blank">https://github.com/coderextreme/X3DJSONLD/tree/master/src/main/java/net/x3djsonld/data</a><br></div><div><br></div><div>Don, let me know when you want to meet to go over errors (2PM today?).  I plan to go over these with you, since these are semi-official, then copy the good patterns over to my own buggy code (which we can also discuss if you like).</div></div>
</blockquote></div>
</blockquote></div>