[x3d-public] Status, X3DPSAIL: clean build achieved! Python progress

John Carlson yottzumm at gmail.com
Sun Apr 28 08:27:39 PDT 2019


I’ve set the stack to 1GB (max on my system) with no luck before.   Let me know if you find something that works.

John

Sent from Mail for Windows 10

From: Brutzman, Donald (Don) (CIV)
Sent: Sunday, April 28, 2019 8:43 AM
To: John Carlson
Cc: X3D Graphics public mailing list; Peitso, Loren (CIV)
Subject: Re: Status, X3DPSAIL: clean build achieved! Python progress

Pretty good run of python conversions last night, fairly thorough but incomplete build outputs available at

https://www.web3d.org/x3d/content/examples/build.python.all.log.txt

with versioning of progress at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/build.python.all.log.txt

Looks like my laptop was having some memory issues last night, I should have rebooted before launching the big job.  Getting a lot of these:
*** java.lang.StackOverflow warning: regular expression (regex) unable to evaluate large corresponding String value for SFVec3f

Will run again tonight, then see if there is more work needed on that problem.  It is possible that we will want the Ant build.xml to launch these processes with more memory than current setting.

Meanwhile, more good news: team Korea has independently started producing a python encoding as an adjunct to their work on C# C++ C language bindings for X3D.  We will meet about this in coming weeks and hopefully start file comparisons soon.

The plan below still sounds solid.  If we can initially "open the door" on a first X3DPSAIL implementation working with Python, that can only help.  Then creating a C extension for CPython might someday lead to making X3D a native part of Python.

	Python 3.7.3 Documentation, 4. Building C and C++ Extensions
	https://docs.python.org/3/extending/building.html


On 4/27/2019 8:36 PM, Brutzman, Donald (Don) (CIV) wrote:
> John, great news we have long been working towards: we now have clean builds running for both syntax forms using scripts in the java/src/pyjnius directory.  8)
> 
> Example output attached for HelloWorld.x3D round tripping.  Fixed some diagnostics in X3DJSAIL also.
> 
> Everything is checked in.  Please look at the subversion diffs to see what happened, i made multiple small modifications to .xml .py and .js files but all your code is essentially intact.
> https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/java/src/python/pyjnius/
> 
> Tonite am running full regression on all X3D example archive scenes, mostly running cleanly.  Will upload log and report when done.  Unless you made a converter change, all of the SceneName.py and SceneName.future.py files will be unchanged from last time.
> 
> Suggested next steps:
> 
> a. review and tweak, further corrections, list open issues.
> b. rename our two syntax examples SceneName1.py and SceneName2.py (others may occur), republish archives.
> c. begin looking at whether pip install is possible for X3DPSAIL with a java dependency.
> d. document everything fully.
> 
> Request: am hoping you could add some more prose to your workflow powerpoint to explain what is going on at each transformation.  Some files are source, others are products.  Current version attached, TIA.
> 
> Big corner turned... incremental improvement is much easier than digging around in the fog!  Thanks for your sustained efforts on this one, totally crucial.  Higher ground is coming into view.
> 
> Have fun with X3D Python!   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 HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190428/6bed7fbe/attachment.html>


More information about the x3d-public mailing list