[x3d-public] VRML97 and ClassicVRML model validation from command line using view3dscene
John Carlson
yottzumm at gmail.com
Sun Aug 13 14:37:02 PDT 2023
AFAIK, JSON output with x3d.py is still a work in progress.
x3d-tidy should have .x3dj (JSON) I/O, see:
https://www.npmjs.com/package/x3d-
you use it with npx,
like
$ npx x3d-tidy -i file.x3dv -o file.x3dj
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:
https://github.com/coderextreme/x3dvalidate
That should work ok
On Sun, Aug 13, 2023 at 12:48 PM GPU Group <gpugroup at gmail.com> wrote:
> Related: if/once import functions are made for X3D.py, then exports to
> x3dv, x3d, html, json can be done from there.
>
>
> On Sun, Aug 13, 2023 at 9:54 AM Brutzman, Donald (Don) (CIV) <
> brutzman at nps.edu> wrote:
>
>> Hi Michalis. Thanks for all of your immense, continuing work.
>>
>>
>>
>> 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.
>>
>>
>>
>> - X3D Resources, Examples: Scene Archives for X3D
>> -
>> https://www.web3d.org/x3d/content/examples/X3dResources.html#Examples
>>
>>
>>
>> To do so, am thinking that command-line invocation (CLI) of your
>> *view3dscene* or *tovrmlx3d* executable tools can be accomplished
>> through addition to the existing Ant build.xml scripts. Am keen to proceed
>> with that task.
>>
>>
>>
>> Am looking through the view3dscene CLI documentation, but am not exactly
>> sure how to accomplish this.
>>
>>
>>
>> - view3dscene, 4. Command-line options
>> -
>> https://castle-engine.io/view3dscene.php#section_command_line_options
>>
>>
>>
>> - view3dscene, 4.2. Converting to X3D
>> - https://castle-engine.io/view3dscene.php#section_converting
>>
>>
>>
>> Additional options needed, or not seen:
>>
>>
>>
>> 1. Validation report only, plain text via console. (Perhaps a
>> -validate switch is a variation on your ---write switches.)
>> 2. 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.)
>>
>>
>>
>> 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.
>>
>>
>>
>> Have fun with VRML! 8)
>>
>>
>>
>> all the best, Don
>>
>> --
>>
>> Don Brutzman Naval Postgraduate School, Code USW/Br
>> brutzman at nps.edu
>>
>> Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA
>> +1.831.656.2149
>>
>> X3D graphics, virtual worlds, navy robotics
>> https://faculty.nps.edu/brutzman
>>
>>
>> _______________________________________________
>> x3d-public mailing list
>> x3d-public at web3d.org
>> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230813/b7baf1e3/attachment.html>
More information about the x3d-public
mailing list