[x3d-public] testing x3d python jupyter notebook #0

Brutzman, Donald (Don) (CIV) brutzman at nps.edu
Mon Aug 26 22:39:26 PDT 2019


Hello Masaki, thanks for your help with setting up Jupyter notebook on my system.

	https://test-jupyter.readthedocs.io/en/latest/install.html

Attached please find my first Jupyter notebook that includes an x3d scene.  Also available as

	https://www.web3d.org/x3d/stylesheets/python/jupyter/HelloJupyterNotebook0.ipynb

As discussed, it assumes that x3d.py has already been downloaded and is available in a PYTHONPATH directory.

	https://www.web3d.org/x3d/stylesheets/python/python.html

Please let me know if this notebook works for you.

It is also viewable via jupyter's nbviewer service at

	https://nbviewer.jupyter.org/urls/www.web3d.org/x3d/stylesheets/python/jupyter/HelloJupyterNotebook0.ipynb

Interestingly, at first this copied notebook appears to load the x3d.py package on the jupyter nbviewer server without prior configuration incantations, since the forced "error" is displayed.  However by looking at the source, it appears that the TypeError markup is saved in the JSON source.  So the shared nbviewer version of the notebook must be a published version that has been run, earlier, saved/shared and is later re-runnable. (Hence "viewer" in the name nbviewer.)

I am next trying to configure my mailer to launch such notebooks.  Not sure it is possible.

Onward we go... having fun with Python X3D!  Domo arigato  8)

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: HelloJupyterNotebook0.ipynb
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190827/0a1cf52f/attachment-0001.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HelloJupyterNotebook0.ipynb.pdf
Type: application/pdf
Size: 458205 bytes
Desc: HelloJupyterNotebook0.ipynb.pdf
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190827/0a1cf52f/attachment-0001.pdf>


More information about the x3d-public mailing list