[x3d-public] "hacks" to x3d.py to get x3dindex.py working

John Carlson yottzumm at gmail.com
Tue Dec 7 08:50:12 PST 2021


Latest "hacks" to x3d.py so it will export stuff from x3dinput.py.   I 
modified x3d.py version from sourceforge (possibly not released).

$ diff /c/x3d-code/www.web3d.org/x3d/stylesheets/python/x3d.py x3d.py
12037c12037
<                     result += each.XML(indentLevel=indentLevel+1, 
syntax=syntax)
---
 >                     result += each.XML()
12074c12074
<                     result += each.JSON(indentLevel=indentLevel+1, 
syntax=syntax)
---
 >                     result += each.JSON()
42238c42238
<                     result += each.XML(indentLevel=indentLevel+1, 
syntax=syntax)
---
 >                     result += each.XML()
42291c42291
<                     result += each.JSON(indentLevel=indentLevel+1, 
syntax=syntax)
---
 >                     result += each.JSON()
89030c89030
<                     result += each.XML(indentLevel=indentLevel+1, 
syntax=syntax)
---
 >                     result += each.XML()
89093c89093
<                     result += each.JSON(indentLevel=indentLevel+1, 
syntax=syntax)
---
 >                     result += each.JSON()

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20211207/9df236ca/attachment.html>


More information about the x3d-public mailing list