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

John Carlson yottzumm at gmail.com
Sat May 18 11:39:23 PDT 2019


I believe this problem is fixed (multiline comment not terminated by a newline).

I will check the file again.

John

Sent from Mail for Windows 10

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

Followup. See attached.  I haven’t checked the date on it.  It’s from Chapter 1 of X3d For Web Authors.

John

Sent from Mail for Windows 10

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

This hasn’t been fixed.  Will try to follow up with an example (multiline comment).

John

Sent from Mail for Windows 10

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

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/20190518/6c9e7b22/attachment.html>


More information about the x3d-public mailing list