[x3d-public] Simple example of X3DConcreteNode/addChild problem

John Carlson yottzumm at gmail.com
Fri May 17 00:44:53 PDT 2019


Yeah, merely putting in a newline at the end of the comment seems to have fixed it.

John

Sent from Mail for Windows 10

From: John Carlson
Sent: Friday, May 17, 2019 2:02 AM
To: Brutzman, Donald (Don) (CIV)
Cc: X3D Graphics public mailing list; aono at tut.jp
Subject: RE: Simple example of X3DConcreteNode/addChild problem

Put a newline after comments in python.

John

Sent from Mail for Windows 10

From: Brutzman, Donald (Don) (CIV)
Sent: Thursday, May 16, 2019 5:50 AM
To: John Carlson
Cc: X3D Graphics public mailing list; aono at tut.jp
Subject: Re: Simple example of X3DConcreteNode/addChild problem

p.s. a new python compilation problem seems to have crept in.  Not sure why this is occurring, perhaps because definition of X3D0 is now wrapped in parentheses to simplify multiline continuation?

Example attached, here is current build output.

Loading HelloTriangle.py (pipeline syntax) with python, if successful then saving and validating as HelloTriangle_RoundTrip2.x3d version:
   File "C:\x3d-code\www.web3d.org\x3d\content\examples\X3dForWebAuthors/Chapter01TechnicalOverview//HelloTriangle.py", line 33
     X3D0.toFileX3D("/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter01TechnicalOverview//HelloTriangle_RoundTrip.x3d")
        ^
SyntaxError: invalid syntax

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/20190517/1294eb31/attachment-0001.html>


More information about the x3d-public mailing list