[x3d-public] X3D python effort, suggested upgrades to x3d.py

Joseph D Williams joedwil at earthlink.net
Fri Apr 2 16:54:37 PDT 2021


> VRML

Maybe give file suffix, so, for vrml classic it would be .x3dv
Please don’t overlook transcoding just parts, like interpolater sets into gltf, for example. 
Also, organizing existing tools, like .x3d into .x3dv and .x3dv into .x3d? 
Thanks,
Joe

From: John Carlson
Sent: Thursday, April 1, 2021 12:48 PM
To: X3D Graphics public mailing list; Don Brutzman
Subject: [x3d-public] X3D python effort, suggested upgrades to x3d.py

Suggested upgrades to x3d.py, found in the python packages.


Python parsing of various encodings into scenegraph.


Suggested encodings:


XML

JSON

VRML

python dict


Are these currently present in the API?

I am willing to provide a JSON parser, based on X3DJSONLD-like code--not 
something spread across a lot of classes--someone else will have to 
provide that.  Possibly I can provide an X3DJSONLD that will convert 
directly to Python object model (using classes found in x3d.py) or 
python dict, instead of providing XML DOM document on output.  I am not 
sure at this point.

We already have XML and JSON parsing for Java.   Remember that the 
x3d.py is generated, I believe.  Someone can correct me.

If someone wants to volunteer converting X3DJSONLD.js, X3DJSONLD.java, 
or X3DJSONLD.cpp to python, raise your hand!

Before X3DJSONLD comes converting XML DOM documents to a scenegraph.   
The same DOM library should be used for both XML and X3DJSONLD.  If 
there's no DOM loader available, I will attempt to go directly to python 
object model or python dict.

Your comments are welcome!

John




_______________________________________________
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/20210402/dca467e0/attachment-0001.html>


More information about the x3d-public mailing list