<div dir="auto">Let me know of any updates, my brain is back 2+ years ago.  I’m working on a Python based renderer (no X3D encodings), and sometimes, I want to output XML and VRML from Python to check the scene, and potentially others will too.  I have 2 struggles, containerFields (another message) and DEF/USE ordering on output.</div><div dir="auto"><br></div><div dir="auto">Most likely, the best approach is to remove USE, and use variables instead in my python.   But yes, we also need logic in x3d.py output to add USE and possibly different containerFields appropriately.   Maybe using Andreas’s kwargs branch is best???  <div dir="auto"><div dir="auto"><a href="https://github.com/andreasplesch/x3d-python-mod/tree/kwargs">https://github.com/andreasplesch/x3d-python-mod/tree/kwargs</a></div><div dir="auto"><br></div><div dir="auto">Using variables is not common in X3dToPython.xslt output (yes, it uses parameters), but it’s extremely common in my PythonSerializer.js output, so I’m guessing that X3dToPython.xslt restructures the scenegraph output to conform to x3d.py output.  That seems extremely messy, but perhaps that’s the power of XSLT.<br></div><div dir="auto"><span><br></span></div><div dir="auto"><span>How do we propagate solutions in x3d-tidy and Castle to other systems?  I’m hearing that Castle is working on a Python solution?  Will it work with the x3d.py API?</span></div><div dir="auto"><span><br></span></div><div dir="auto"><span>Who else wants to write python that generates good VRML and XML?   Do we have to design our Python (or possibly source JSON and XML) according to how x3d.py outputs fields?  That would be okay, perhaps?</span><br></div><div dir="auto"><span><br></span></div><div dir="auto"><span>How dow we attach different containerFields to the same scenegraph node?</span></div><div dir="auto"><span><br></span></div><div dir="auto">John<br></div></div></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="auto"><span></span></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr"><div></div></div>
</blockquote></div></div>
</blockquote></div></div>