Posts

Showing posts from August, 2025

Steps for using python code with GraalPY and X3DJSAIL

I  just discovered that x3dpsail.py could not be downloaded from a X3DJSONLD 12,  here:   https://coderextreme.net/X3DJSONLD/src/main/html/responsive.html So I am making it available here: https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/graalpy/net/coderextreme/data/x3dpsail.py This is for use with GraalVM’s GraalPy, available here: https://github.com/oracle/graalpython/releases/tag/graal-24.2.2 I use this version: graalpy-community-jvm-24.2.2-windows-amd64.zip The JVM is for accessing Java code (X3DJSAIL). Apologies for the oversight.

Progress on JSON array for MFString

  If anyone is questioning whether NavigationInfo.type works with JSON array if strings, please view this page:   https://coderextreme.net/X3DJSONLD/src/main/html/main_viewer.htm l There’s a slew of examples on the top right.  Best viewed on laptop/desktop.  I like the Rubik examples.  The navigation type switcher is available with RMB on X_ITE and keystrokes in X3DOM. So X3DJSONLD works, at least it converts back to XML/DOM ok. Please show a case where XML MFString is preferred over a native JSON array.  With X3D JSON schema or XML schema, we can insure that all elements of the JSON array are strings. I will work on incorporating Ajv schema validation into X3DJSONLD 12.  That’s a missing piece.   It was present in X3DJSONLD 11.  So now’s your chance to break my app! Thanks! John