Menu

#74 HAnimHumanoid.normal should be skinNormal

HAnim
wont-fix
None
2025-10-08
2025-10-08
No

I believe Python output from X3dToPython.xslt needs one change, The normal field of HAnimHumanoid is called skinNormal, not normal. Corrected Python and original X3D (for conversion to Python) attached.

$ python conan.py
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.py", line 34, in <module>
HAnimHumanoid(DEF='HAnimHumanoid_01',bboxCenter=(5.960464477539063e-08,0.0,0.0),bboxSize=(2.3237706422805786,2.9685592651367188,2.6454598903656006),loa=0,version='2.0',
TypeError: HAnimHumanoid.init() got an unexpected keyword argument 'normal'</module>

2 Attachments

Discussion

  • John W Carlson

    John W Carlson - 2025-10-08
    • Attachments has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,2 @@
    +conan.py (27.1 MB; text/x-python)
     conan.x3d (27.2 MB; model/x3d+xml)
    
     
  • John W Carlson

    John W Carlson - 2025-10-08

    Corrected Python included

     
  • Don Brutzman

    Don Brutzman - 2025-10-08

    This example is not actionable. The original file is not under an open-source license, and in any case is too big to work with. Closing the ticket.

     
  • Don Brutzman

    Don Brutzman - 2025-10-08
    • status: open --> wont-fix
     

Log in to post a comment.

MongoDB Logo MongoDB