Skip to content
Snippets Groups Projects
Commit 5a0f9ad7 authored by amandaghassaei's avatar amandaghassaei
Browse files

rapid height bug

parent 1253eb3c
No related branches found
No related tags found
No related merge requests found
......@@ -203,7 +203,7 @@ Assembler = Backbone.Model.extend({
var rapidHeight = this.get("rapidHeight");
var safeHeight = this.get("safeHeight");
var wcs = this.get("originPosition");
data += exporter.moveZ(rapidHeight+wcs.z);
data += exporter.moveZ(rapidHeight);
data += "\n";
var stockPosition = this.get("stockPosition");
......@@ -275,7 +275,7 @@ Assembler = Backbone.Model.extend({
data += exporter.moveZ(stockPosition.z-wcs.z);
data += exporter.addComment("get stock");
data += exporter.moveZ(stockPosition.z-wcs.z+safeHeight);
data += exporter.rapidZ(rapidHeight+wcs.z);
data += exporter.rapidZ(rapidHeight);
return data;
},
......@@ -287,7 +287,7 @@ Assembler = Backbone.Model.extend({
data += exporter.moveZ(cellPosition.z-wcs.z);
data += exporter.addComment(JSON.stringify(cell.indices));
data += exporter.moveZ(cellPosition.z-wcs.z+safeHeight);
data += exporter.rapidZ(rapidHeight+wcs.z);
data += exporter.rapidZ(rapidHeight);
return data;
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment