[x3d-public] possible bug in X3D file, or X3D Object model, rotation and translation are not defined for CADFace (but possibly inherited??? and missing from sub node), thus have no local type and cannot be converted to array.

Vincent Marchetti vmarchetti at kshell.com
Sun Jan 8 10:34:56 PST 2017


The presence of this X3D model in the X3D Basic Examples ( http://www.web3d.org/x3d/content/examples/Basic/CAD/CADPartChildTransformationAlternativeBIndex.html ) may be confusing; it is documented as non-conforming (see the meta tag named 'warning' in the head section of the X3D file). This file was generated as part of the discussion on Mantis Issue 528 ( From Mantis Bug Tracker, restricted to Web3D Consortium members). This file used a proposed extension to the X3D standard that allowed transformation nodes in CADFace. This extension has not been approved and the Mantis discussion notes indicate that the working group is not recommending it -- so the extension is not incorporated into the Object model and is not part of X3D.

Vince Marchetti

> On Jan 2, 2017, at 6:09 AM, yottzumm at gmail.com wrote:
> 
> examples\Basic\CAD\CADPartChildTransformationAlternativeB.java:187: error: ')' expected
>                 CADFace0_2_4_0_5.setRotation(1 0 0 1.5708);
>                                               ^
> examples\Basic\CAD\CADPartChildTransformationAlternativeB.java:187: error: not a statement
>                 CADFace0_2_4_0_5.setRotation(1 0 0 1.5708);
>                                                  ^
> examples\Basic\CAD\CADPartChildTransformationAlternativeB.java:187: error: ';' expected
>                 CADFace0_2_4_0_5.setRotation(1 0 0 1.5708);
>                                                   ^
> examples\Basic\CAD\CADPartChildTransformationAlternativeB.java:188: error: ')' expected
>                 CADFace0_2_4_0_5.setTranslation(0 1.5 0);
>                                                  ^
> examples\Basic\CAD\CADPartChildTransformationAlternativeB.java:188: error: not a statement
>                 CADFace0_2_4_0_5.setTranslation(0 1.5 0);
>                                                       ^
> examples\Basic\CAD\CADPartChildTransformationAlternativeB.java:188: error: ';' expected
>                 CADFace0_2_4_0_5.setTranslation(0 1.5 0);
>                                                        ^
> examples\Basic\CAD\CADPartChildTransformationAlternativeB.java:203: error: ')' expected
>                 CADFace0_2_4_0_7.setRotation(-1 0 0 1.5708);
>                                                ^
> examples\Basic\CAD\CADPartChildTransformationAlternativeB.java:203: error: not a statement
>                 CADFace0_2_4_0_7.setRotation(-1 0 0 1.5708);
>                                                   ^
> examples\Basic\CAD\CADPartChildTransformationAlternativeB.java:203: error: ';' expected
>                 CADFace0_2_4_0_7.setRotation(-1 0 0 1.5708);
>                                                    ^
> examples\Basic\CAD\CADPartChildTransformationAlternativeB.java:204: error: ')' expected
>                 CADFace0_2_4_0_7.setTranslation(0 -1.5 0);
>                                                       ^
> examples\Basic\CAD\CADPartChildTransformationAlternativeB.java:204: error: illegal start of expression
>                 CADFace0_2_4_0_7.setTranslation(0 -1.5 0);
>                                                         ^
> 11 errors
> <CADPartChildTransformationAlternativeB.java><CADPartChildTransformationAlternativeB.x3d>_______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org




More information about the x3d-public mailing list