mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2025-06-11 09:53:18 +02:00
Added slice abstraction to Slice class
This commit is contained in:
@ -86,7 +86,7 @@ function init () {
|
||||
|
||||
downloadButton.style.display = 'initial';
|
||||
downloadButton.onclick = function () {
|
||||
downloadFile("gcode.gcode", gcode.join('\n'));
|
||||
downloadFile("gcode.gcode", gcode);
|
||||
};
|
||||
};
|
||||
|
||||
@ -99,7 +99,7 @@ function init () {
|
||||
var mesh = new THREE.Mesh(geometry, material);
|
||||
|
||||
mesh.rotation.x = -Math.PI/2;
|
||||
mesh.scale.x = mesh.scale.y = mesh.scale.z = 1;
|
||||
mesh.scale.x = mesh.scale.y = mesh.scale.z = 0.5;
|
||||
mesh.position.y = -0.1;
|
||||
mesh.position.x = 60;
|
||||
mesh.position.z = 60;
|
||||
|
Reference in New Issue
Block a user