AbFab3D has STL support but not OBJ. Our servers are only set for X3DB output right now. But if you want to run AbFab3D(the underlying toolkit for ShapeJS) yourself then you can specify the format. Here are the instructions:
I've been getting some requests about how to run AbFab3D from the command-line. This will also give you STL output instead of X3DB.
do an ant build at the top of the project.
then goto apps/volumesculptor(former name of the project).
ant runShell -Dscript=load.js -Darg0=foo.stl -Darg1=0.2
For example a simple script to voxelize an stl:
load.js would contain this:
function main(args) {
var baseFile = args[0];
var voxelSize = args[1];
var grid = load(baseFile,voxelSize*MM);
return grid;
}
Changing the voxelSize can significantly change the processing time and accuracy(. If your doing small objects such as rings then you can likely use 0.06mm fairly well. If your doing something like a vase then you might have to go up to .5mm or more.
I have it set for 8.8 gigs max ram, change runarg0 for your environment maximums.