<div dir="ltr">We don't want to produce XML, we want to take XML and and add it to the page with some JavaScriptFu, (.innerHTML, I suggest).   something like createX3DFromString()-replaceWorld() would work best, I think.   Perhaps call X3DOM's equivalent method in the Jupyter page.  We want a python version, though, for x3d.py.  This is where the tough get going.   I will attempt to do one for x3d.js.   We can share info as we discover the best ways to do this.  The key is burrowing through the Python to get to the JavaScript calls in X3DOM.<div><br></div><div>John</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 1, 2020 at 7:28 PM Don Brutzman <<a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 5/1/2020 7:10 AM, John Carlson wrote:<br>
> YES! I want to get rid of the IPython include (HTML function), and just use x3d.py for rendering to X3DOM!<br>
> <br>
> If someone has an X3D way of doing this, i am all ears.<br>
<br>
Once we have x3d.py producing satisfactory XML(), will then add utility methods producing HTML for X_ITE and X3DOM respectively.  Getting closer, more testing to follow.<br>
<br>
hmmm.  We could use left and right ear models in the HAnim archives... not too large please!   8)<br>
<br>
all the best, Don<br>
-- <br>
Don Brutzman  Naval Postgraduate School, Code USW/Br       <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><br>
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149<br>
X3D graphics, virtual worlds, navy robotics <a href="http://faculty.nps.edu/brutzman" rel="noreferrer" target="_blank">http://faculty.nps.edu/brutzman</a><br>
</blockquote></div>