In the 3DViewer sample, exporting a .ma model as .java fails due to a bad cast attempt.
In the file JavaSourceExporter, in the method private String toString(Interpolator interpolator) , there is a check if (interpolator instanceof NumberTangentInterpolator). However, the right side of the instanceof is com.javafx.experiments.utils3d.animation.NumberTangentInterpolator. The argument for the method is com.sun.scenario.animation.NumberTangentInterpolator. This causes the method to throw an UnsupportedOperationException even though the code for the classes is the same.