[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.

Don Brutzman brutzman at nps.edu
Sun Jan 8 12:39:11 PST 2017


That is correct, thanks for confirming Vince.  There are a handful of scenes in the archives like this that are not expected to work but are important to retain for developmental/archival purposes.

John, I usually make a point to print out "meta error" and "meta warning" statements when running long test series.  They help make the logs decipherable and avoid undue re-investigation.  Perhaps something like that is possible in your test suite?


On 1/8/2017 10:34 AM, Vincent Marchetti wrote:
> 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
>
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>


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



More information about the x3d-public mailing list