[x3d-public] results from x3d.py and open-dis-python

John Carlson yottzumm at gmail.com
Thu Jan 21 01:56:12 PST 2021


So I was hoping to get another python example working...No!

$ python3 ~/Downloads/EspduTransformSenderReceiver.py
x3d.py package loaded, have fun with X3D Graphics!
Traceback (most recent call last):
   File "/home/coderextreme/Downloads/EspduTransformSenderReceiver.py", 
line 66, in <module>
     fontStyle=FontStyle(justify=["MIDDLE","MIDDLE"],size=1.5)),
   File 
"/home/coderextreme/X3DJSONLD/src/main/python/net/x3djsonld/data/x3d.py", 
line 28485, in __init__
     super().__init__(DEF, USE, class_, style_, IS, metadata) # fields 
for _X3DNode only
NameError: name 'style_' is not defined


On 1/21/21 3:46 AM, John Carlson wrote:
>  I'm trying to get DIS working from the x3d.py and x3d resource 
> sexamples, BaseballBackspin.py:
>
>
> What the below (from BaseballBackspin.py) means to me is that this 
> Transform is a receiver.   So I need a sender, I guess.
>
>
> EspduTransform(address='127.0.0.1',marking='Baseball',networkMode='networkReader',port=3001,siteID=3,writeInterval=0, 
>
>
> Looking through the open-dis-python, I see:
>
>
> $ python3 examples/dis_sender.py
>
>
> And I'm running the baseball example as:
>
>
> $ python3 ~/Downloads/BaseballBackspin.py
>
>
> but neither of them wait or retry?
>
>
> I got the open-dis-python examples an tests to work
>



More information about the x3d-public mailing list