[x3d-public] Errors using x3d.py

John Carlson yottzumm at gmail.com
Sun Mar 1 15:02:57 PST 2020


I have added gui.x3d and gui.py as examples of translating Qt Designer XML
(I think) to "X3D"-like python.  This is after a "roll my own" xmltopy.py.
There's still a lot of work to do, namely, we need to add some text node
processing to X3dToPython.xslt.   We probably want to create a
RpgToPython.xslt for that.

I also added a build target for gui.py.

Ideally, either Jeff or I will write the RpgToPython.xslt and
associated RPGuomToRpgPythonPackage.xslt.

Any inputs everyone has are welcome, especially in the realm of creating a
user friendly editor for RPGUOM like Qt Designer/WxFormBuilder.

Code is found here on sourceforge:

x3d-code/www.web3d.org/x3d/stylesheets/python

Thanks for all the contributions that made this project even possible!

John



If someone wants to contribute XMLSchemas or X3DUOM-like unified object
models which support Qt Designer and/or RPG object model, they would be
most welcome.

I'll probably be working on an RPGUOM next.

John

On Sun, Mar 1, 2020 at 1:31 PM John Carlson <yottzumm at gmail.com> wrote:

> Don, I'm starting to use X3D patterns with Qt Designer and our RPG maker.
> I would like also to use X3D as an alternative GUI, in addition to Unity,
> Unreal, and PlayCanvas eventually.  Here are the bugs I'm getting when
> running in the x3d/stylesheets/python folder:
>
> $ python examples/HelloWorld.py
> Traceback (most recent call last):
>   File "examples/HelloWorld.py", line 21, in <module>
>     from x3d import *
> AttributeError: module 'x3d' has no attribute 'SFBool'
>
> $ python examples/PythonX3dSmokeTests.py
> ===================
> Importing local development copy of X3D package:
>   from x3d import *
> Traceback (most recent call last):
>   File "examples/PythonX3dSmokeTests.py", line 23, in <module>
>     from x3d import *
> AttributeError: module 'x3d' has no attribute 'SFBool'
>
> $ python examples/BackgroundCollection.py
> Traceback (most recent call last):
>   File "examples/BackgroundCollection.py", line 21, in <module>
>     from x3d import *
> AttributeError: module 'x3d' has no attribute 'SFBool'
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20200301/d8dcfb98/attachment.html>


More information about the x3d-public mailing list