Skip to content
Snippets Groups Projects
Commit d885f003 authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

changes

parent f0365904
Branches
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ define(['underscore', 'appState', 'lattice', 'cam'], function(_, appState, latti
this.customChangeZLayer = function(currentIndex, lastIndex, exporter, settings, context, self){
var data = "";
if (lastIndex === null || (currentIndex.z-lastIndex.z)%2 != 0){
data += exporter.addLine("G0", ["A" + (currentIndex.z%2*0.3125).toFixed(4)], "new layer");
data += exporter.addLine("G0", ["A" + ((currentIndex.z%2+1)*0.3125).toFixed(4)], "new layer");
data += "\n";
}
return data;
......
......@@ -102,7 +102,7 @@ define(['three'], function(THREE){
stock:{
stock1: {
description:{
materialName: "brass",
materialName: "fiberGlass",
length: 4
},
name: "Stock 1",
......@@ -111,7 +111,7 @@ define(['three'], function(THREE){
},
stock2: {
description:{
materialName: "fiberGlass",
materialName: "brass",
length: 4
},
name: "Stock 2",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment