I'm doing a java 3D library regarding drawing different kind of shapes and generate them into an STL file. As I'm trying to code my STLFile class I found some import which I don't really understand. Can someone tell me where can I find the Loader or the library and how to use those import.
Below is the code that I found which I don't understand.
import com.sun.j3d.loaders.Scene;
import com.sun.j3d.loaders.SceneBase;
import com.sun.j3d.loaders.IncorrectFormatException;
import com.sun.j3d.loaders.ParsingErrorException;
import com.sun.j3d.utils.geometry.GeometryInfo;
. . .
public class STLFile implements Loader
{
. . .
}
There are more code but I 'm just showing the part which I not sure. Thank you.
Rather look at org.jogamp.java3d.loaders and org.jogamp.java3d.utils.geometry. You can download Java 3D here. I advise you to read my article to know how to get started with Java 3D.