<div dir="ltr">I'm guessing I have to so something like<br><br>value=SFColor((0.9,0.9,0.9))<div><br></div><div>??  No!<br><br>I will look through examples of generated JSON from X3dToPython.xslt, found in flower2.py.  I will try the following:</div><div>flowers2.py:          field(name='diffuseColor',accessType='inputOutput',type='SFColor',value=(1,0.5,0)),<br>flowers2.py:          field(name='specularColor',accessType='inputOutput',type='SFColor',value=(1,0.5,0)),<br></div><div><br></div><div>Looks like it works, for anyone confused why you can't pass 3 (actually 4) values to SFColor!</div><div><br></div><div>I'm approaching near completion of x3djsonld.py, except for HAnim it appears.  I might call you Joe, so prepare to video (on Zoom?).  I haven't looked into these issues yet, so let me do that first.</div><div><br></div><div>X3dToPython.xslt is still preferred, as I haven't handled children (comments) and value in Shape and Text.</div><div><br></div><div>Note:  I am reading in JSON.</div><div><br></div><div><br></div><div>Traceback (most recent call last):<br>  File "C:\Users\john\X3DJSONLD\src\main\python\net\coderextreme\data\ViewFrustumPrototype.py", line 17, in <module><br>    field(name="lineColor", accessType="inputOutput", appinfo="RGB color of ViewFrustum outline, default value 0.9 0.9 0.9", type="SFColor", value=SFColor(0.9,0.9,0.9)),<br>TypeError: SFColor.__init__() takes from 1 to 2 positional arguments but 4 were given<br>Error: ../python/net/coderextreme/data/ViewFrustumPrototype.py failed to parse<br>python ../python/x3djsonld.py ../data/x3dconnector.json ../python/net/coderextreme/data/x3dconnector.py<br>../python/net/coderextreme/data/x3dconnector.py<br>python ../python/x3djsonld.py ../data/x3dconnectorProto.json ../python/net/coderextreme/data/x3dconnectorProto.py<br>../python/net/coderextreme/data/x3dconnectorProto.py<br>python ../python/x3djsonld.py ../data/X3dHeaderPrototypeSyntaxExamples.json ../python/net/coderextreme/data/X3dHeaderPrototypeSyntaxExamples.py<br></div></div>