[X3D-Ecosystem] Two bugs that need to be reported. X3dToJava.xslt and X3dToPython.xslt
John Carlson
yottzumm at gmail.com
Sat Aug 23 20:47:15 PDT 2025
Possibly related:
=============================================================
Python generated from .x3d by X3dToPython.xslt:
x3d.py package 4.0.64.5 loaded, have fun with X3D Graphics!
Traceback (most recent call last):
File
"C:\Users\jcarl\x3djsonld\src\main\python\net\x3djsonld\data\conan_23_Aug2025.py",
line 33, in <module>
HAnimHumanoid(DEF='HAnimHumanoid_01',bboxSize=(2.0,2.0,2.0),loa=0,version='2.0',
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
skeleton=[
^^^^^^^^^^
...<2105 lines>...
ROUTE(fromField='fraction_changed',fromNode='JumpTimer',toField='set_fraction',toNode='expression450'),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ROUTE(fromField='value_changed',fromNode='expression450',toField='set_rotation',toNode='GameSkeletonToes_L')])],)])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: HAnimHumanoid.__init__() got an unexpected keyword argument
'normal'
=============================================================
While generating Java using X3dToJava.xslt:
translating to java
BEGIN ../data/conan_23_Aug2025.x3d > java, ... containerField mismatch for
Normal DEF='HAnimHumanoid_01_Normal', found containerField='skinNormal' but
expected containerField='skinBindingNormals'
I believe the correct containerField is skinNormal.
Here's sample .x3d:
<HAnimHumanoid DEF='HAnimHumanoid_01' bboxSize='2.0 2.0
2.0' loa='0' containerField='children'>
<Coordinate DEF='HAnimHumanoid_01_Coord'
containerField='skinCoord'
point='-0.09657000005245209
84.73147583007812 33.474571228027344, -0.056439999490976334
88.79564666748047 31.491121292114258, -5.949220180511475 8
<Normal DEF='HAnimHumanoid_01_Normal'
containerField='skinNormal'
vector='-0.0025475171860307455
0.3290974199771881 0.9442924857139587, -0.0033835070207715034
0.716029703617096 0.6980615854263306, -0.330033302307
<HAnimJoint DEF=
Please ask Aaron for actual files. I will provide him with the Java and
the Python.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20250823/14cc0dd5/attachment.html>
More information about the X3D-Ecosystem
mailing list