<div><div dir="auto">AFAIK, JSON output with x3d.py is still a work in progress.</div><div dir="auto"><br></div><div dir="auto">x3d-tidy should have .x3dj (JSON) I/O, see:</div><div dir="auto"><br></div><div dir="auto"><div dir="auto"><a href="https://www.npmjs.com/package/x3d-" target="_blank">https://www.npmjs.com/package/x3d-</a></div><div dir="auto"><br></div><div dir="auto">you use it with npx,</div><div dir="auto"><br></div><div dir="auto">like</div><div dir="auto"><br></div><div dir="auto">$ npx x3d-tidy -i file.x3dv -o file.x3dj</div><br></div><div dir="auto">I’m trying to figure out why x3dvalidate doesn’t publish properly (maybe it does). Anyway, when used with npx, parameters are not accepted. If you want to have a copy in your project, it’s available here:</div><div dir="auto"><br></div><div dir="auto"><div><a href="https://github.com/coderextreme/x3dvalidate">https://github.com/coderextreme/x3dvalidate</a></div><br></div><div dir="auto">That should work ok</div></div><div><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 13, 2023 at 12:48 PM GPU Group <<a href="mailto:gpugroup@gmail.com" target="_blank">gpugroup@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr">Related: if/once import functions are made for X3D.py, then exports to x3dv, x3d, html, json can be done from there.<div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 13, 2023 at 9:54 AM Brutzman, Donald (Don) (CIV) <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div><div lang="EN-US"><div><p class="MsoNormal">Hi Michalis. Thanks for all of your immense, continuing work.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I am hoping to add validation of converted .wrl and .x3dv files to the regression test suite for X3D Example Archives. This will check the quality of output from the X3dToVrml.xslt stylesheets, and improve the quality assurance (QA) of all VRML models offered there – over 4000 in each case. In each case I’ll create and commit a build.log text file so that we can keep track of compliance and progress.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><ul style="margin-top:0in" type="disc"><li style="margin-left:0in">X3D Resources, Examples: Scene Archives for X3D<u></u><u></u></li><li style="margin-left:0in"><a href="https://www.web3d.org/x3d/content/examples/X3dResources.html#Examples" target="_blank">https://www.web3d.org/x3d/content/examples/X3dResources.html#Examples</a><u></u><u></u></li></ul><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">To do so, am thinking that command-line invocation (CLI) of your <i>view3dscene</i> or <i>tovrmlx3d</i> executable tools can be accomplished through addition to the existing Ant build.xml scripts. Am keen to proceed with that task.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Am looking through the view3dscene CLI documentation, but am not exactly sure how to accomplish this.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><ul style="margin-top:0in" type="disc"><li style="margin-left:0in">view3dscene, 4. Command-line options<u></u><u></u></li><li style="margin-left:0in"><a href="https://castle-engine.io/view3dscene.php#section_command_line_options" target="_blank">https://castle-engine.io/view3dscene.php#section_command_line_options</a><u></u><u></u></li></ul><p class="MsoNormal"><u></u> <u></u></p><ul style="margin-top:0in" type="disc"><li style="margin-left:0in">view3dscene, 4.2. Converting to X3D<u></u><u></u></li><li style="margin-left:0in"><a href="https://castle-engine.io/view3dscene.php#section_converting" target="_blank">https://castle-engine.io/view3dscene.php#section_converting</a><u></u><u></u></li></ul><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Additional options needed, or not seen:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><ol style="margin-top:0in" start="1" type="a"><li style="margin-left:0in">Validation report only, plain text via console. (Perhaps a -validate switch is a variation on your ---write switches.)<u></u><u></u></li><li style="margin-left:0in">Avoid creation of additional files, if possible. (I might send each output to a single temp file, but all that file writing will likely slow down the already-long overall process.)<u></u><u></u></li></ol><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Please advise if there is a way to invoke one of your tools to accomplish this. CLI example will be helpful. Thanks in advance for all guidance.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Have fun with VRML! 8)<u></u><u></u></p><p class="MsoNormal"><span style="font-size:9pt;font-family:"Courier New""><u style="font-family:"Courier New""></u> <u style="font-family:"Courier New""></u></span></p><p class="MsoNormal"><span style="font-size:9pt;font-family:"Courier New"">all the best, Don<u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p><p class="MsoNormal"><span style="font-size:9pt;font-family:"Courier New"">-- <u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p><p class="MsoNormal"><span style="font-size:9pt;font-family:"Courier New"">Don Brutzman Naval Postgraduate School, Code USW/Br <a href="mailto:brutzman@nps.edu" style="font-family:"Courier New"" target="_blank">brutzman@nps.edu</a><u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p><p class="MsoNormal"><span style="font-size:9pt;font-family:"Courier New"">Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA +1.831.656.2149<u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p><p class="MsoNormal"><span style="font-size:9pt;font-family:"Courier New"">X3D graphics, virtual worlds, navy robotics <a href="https://faculty.nps.edu/brutzman" style="font-family:"Courier New"" target="_blank">https://faculty.nps.edu/brutzman</a><u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p><p class="MsoNormal"><u></u> <u></u></p></div></div>_______________________________________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</div></blockquote></div>
_______________________________________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote></div></div>
</div>