[x3d-public] Updated files. Blender exporter, x3d.py, X3duomToX3dPythonPackage.xslt

John Carlson yottzumm at gmail.com
Sun Feb 18 08:24:26 PST 2024


Blender plugin, new x3d.py, catch image exception.

https://github.com/coderextreme/BlenderX3DSupport/tree/main/io_scene_x3dv

based on:

New x3d.py:

x3d-code/www.web3d.org/x3d/stylesheets/python/x3d.py at main ·
coderextreme/x3d-code (github.com)
<https://github.com/coderextreme/x3d-code/blob/main/www.web3d.org/x3d/stylesheets/python/x3d.py>

(please edit defuse method to return parameter for now), see x3d.py in
Blender plugin.

New x3d.py generator (includes sorting skin before skinCoord), prototype
defuse method, defuse method doesn't currently work.

x3d-code/www.web3d.org/x3d/stylesheets/X3duomToX3dPythonPackage.xslt at
main · coderextreme/x3d-code (github.com)
<https://github.com/coderextreme/x3d-code/blob/main/www.web3d.org/x3d/stylesheets/X3duomToX3dPythonPackage.xslt>

New X3DUOM:

x3d-code/www.web3d.org/specifications/X3dUnifiedObjectModel-4.0.xml at main
· coderextreme/x3d-code (github.com)
<https://github.com/coderextreme/x3d-code/blob/main/www.web3d.org/specifications/X3dUnifiedObjectModel-4.0.xml>

Patches to X3DUOM to get x3d.py working:

$ diff /c/x3d-code/
www.web3d.org/specifications/X3dUnifiedObjectModel-4.0.xml ~/x3d-code/
www.web3d.org/specifications/X3dUnifiedObjectModel-4.0.xml
9611c9611
<                     type="xs:NMTOKEN"
---
>                     type="SFString"
18344c18344
<                     type="xs:NMTOKEN"
---
>                     type="SFString"
27616c27616
<                     type="xs:NMTOKEN"
---
>                     type="SFString"
27679c27679
<                     type="xs:NMTOKEN"
---
>                     type="SFString"

I'm unsure what to do about XML Schema and generating X3DUOM at this
point.  I'm guessing updates to XML Schema or X3DUOM generator broke X3DUOM
generation of x3d.py.

Enjoy!

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240218/0ddc4787/attachment.html>


More information about the x3d-public mailing list