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

Brutzman, Donald (Don) (CIV) brutzman at nps.edu
Thu May 16 03:50:02 PDT 2019


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 embedded and charset-unspecified text was scrubbed...
Name: HelloTriangle.py
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190516/76622958/attachment-0001.ksh>


More information about the x3d-public mailing list