[x3d-public] X3D python again

John Carlson yottzumm at gmail.com
Mon Feb 18 12:35:09 PST 2019


Sorry, 2pm PST 2/19.  My mistake.  For some reason I mix up our meeting with my doctor’s appointment.  I’m also getting the “muting” effect in my dreams again.



Sent from Mail for Windows 10

From: John Carlson
Sent: Monday, February 18, 2019 2:32 PM
To: Brutzman, Donald (Don) (CIV)
Cc: X3D Graphics public mailing list
Subject: RE: X3D python again

Don,

I think we should pursue a pure python library instead JNI.  I don’t know of any good Java to Python translators.  I know of a Python to Java generator (Jython). If anything, we should translate Python to Java, but I have no clue what the external API will look like.

Next, what are the features of the API?  Interfaces?  See you at 4pm CST.   Are we providing validation?   Translation?  Or just an interface to the scenegraph or DOM

4pm CST is fine for a meeting today (got timezone ”PM” wrong last time).

Is Python stable enough of a target to create a standard API for?   Is there a standard API for Python?

Thanks,

John

Sent from Mail for Windows 10

From: Brutzman, Donald (Don) (CIV)
Sent: Sunday, February 17, 2019 11:24 AM
To: John Carlson
Cc: X3D Graphics public mailing list
Subject: X3D python again

hi John.

Even after recent retries, never did get python 3.7.2 stock package working properly on windows 10.  Not sure why, suspect interference from other python-related packages/paths.

                https://www.python.com

after a large number of hours spent in python-install heck, i finally have anaconda package with python v3.1 mostly working.

                https://www.anaconda.com

their installer fails if there is any extraneous python anywhere in path - got past that by uninstalling, manual removals, and manual editing of environment variables to get everything back to bare metal.  another major time-waste was that anaconda also appears to succeed but actually fails if installed as localuser (somewhat similar failure to install of stock python) and so have installed it as admin, with permissions for all users, for best supervisory ability.

launching the anaconda navigator and anaconda spyder environments still fails for me, but otherwise things seem to be working.  tracked down idle and exposed its batch file.  of note is that anaconda includes R and also Jupyter notebook.  these are all important target environments for X3D.

will keep working, hoping to set up a meeting next week after long weekend.  given that i've finally got something going, am ready to resume "playing catch up" to your PYJNIUS mappings for X3DJSAIL.

as part of resynch, let's start out with documenting X3dToPython similar to how we proceeded with

                X3D JSON Encoding
                http://www.web3d.org/wiki/index.php/X3D_JSON_Encoding

                X3D to JSON Stylesheet Converter
                http://www.web3d.org/x3d/stylesheets/X3dToJson.html

Might Tuesday 1400-1500 pacific (or later) work for you?  Web3D Conference line, in case someone wants to join the journey with us.

Looking forward to regaining progress together, again thanks for your patience.

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 HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190218/8d1e3e7a/attachment-0001.html>


More information about the x3d-public mailing list