const skycolor = 'LightBlue'; // sky color
const skycolorObject = new THREE.Color ( skycolor.toLowerCase() );
const startRadius = 1000; // distance from centre we start the camera at
const maxRadius = startRadius * 10; // maximum distance from camera we render things
AB.world.newRun = function()
{
ABWorld.init3d ( startRadius, maxRadius, skycolorObject );
$.getScript ( "/uploads/humphrys/jszip.min.js", function()
{
$.getScript ( "/uploads/humphrys/3MFLoader.js", function()
{
console.log ("loaded JS");
var loader = new THREE.ThreeMFLoader();
loader.load( '/uploads/humphrys/cube_gears.3mf', function ( object )
{
ABWorld.scene.add( object );
});
});
});
};