[x3d-public] problem with X3D Java SAI CADPart addChildren

yottzumm at gmail.com yottzumm at gmail.com
Mon Jan 2 03:13:26 PST 2017


Can’t add Transform to CADPart through addChildren, no non-array parameter for single node.

examples\Basic\CAD\CADPartChildTransformationAlternativeC.java:191: error: no suitable method found for addChildren(TransformObject)
                CADPart0_2_4_0.addChildren(Transform0_2_4_0_5);
                              ^
    method X3DGroupingNode.addChildren(X3DNode[]) is not applicable
      (argument mismatch; TransformObject cannot be converted to X3DNode[])
    method CADPart.addChildren(X3DNode[]) is not applicable
      (argument mismatch; TransformObject cannot be converted to X3DNode[])
    method CADPartObject.addChildren(CADFace) is not applicable
      (argument mismatch; TransformObject cannot be converted to CADFace)
    method CADPartObject.addChildren(X3DNode[]) is not applicable
      (argument mismatch; TransformObject cannot be converted to X3DNode[])
examples\Basic\CAD\CADPartChildTransformationAlternativeC.java:209: error: no suitable method found for addChildren(TransformObject)
                CADPart0_2_4_0.addChildren(Transform0_2_4_0_7);
                              ^
    method X3DGroupingNode.addChildren(X3DNode[]) is not applicable
      (argument mismatch; TransformObject cannot be converted to X3DNode[])
    method CADPart.addChildren(X3DNode[]) is not applicable
      (argument mismatch; TransformObject cannot be converted to X3DNode[])
    method CADPartObject.addChildren(CADFace) is not applicable
      (argument mismatch; TransformObject cannot be converted to CADFace)
    method CADPartObject.addChildren(X3DNode[]) is not applicable
      (argument mismatch; TransformObject cannot be converted to X3DNode[])
2 errors

John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170102/f706832b/attachment.html>


More information about the x3d-public mailing list