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

eod

parent aec73897
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,13 @@ define(['underscore', 'appState', 'lattice', 'stlLoader', 'threeModel', 'cam', ' ...@@ -19,6 +19,13 @@ define(['underscore', 'appState', 'lattice', 'stlLoader', 'threeModel', 'cam', '
this.camProcesses = json.camProcesses; this.camProcesses = json.camProcesses;
this.numMaterials = json.numMaterials; this.numMaterials = json.numMaterials;
this.customHeader = json.customHeader || function(settings){
// this.home(settings);
};
this.customFooter = json.customFooter || function(){};
this.customHome = json.customHome || function(){};
this.customPickUpStock = json.customPickUpStock || function(){};
this.customPlacePart = json.customPlacePart || function(){};
this.object3D = new THREE.Object3D(); this.object3D = new THREE.Object3D();
three.sceneAdd(this.object3D); three.sceneAdd(this.object3D);
...@@ -197,6 +204,14 @@ define(['underscore', 'appState', 'lattice', 'stlLoader', 'threeModel', 'cam', ' ...@@ -197,6 +204,14 @@ define(['underscore', 'appState', 'lattice', 'stlLoader', 'threeModel', 'cam', '
return data; return data;
}; };
Assembler.prototype.makeHeader = function(settings){
return this.customHeader(settings);
};
Assembler.prototype.home = function(exporter, settings){
return exporter.goHome(settings);
};
Assembler.prototype._postProcessCells = function(settings, exporter){ Assembler.prototype._postProcessCells = function(settings, exporter){
var data = ""; var data = "";
var self = this; var self = this;
......
...@@ -19,9 +19,6 @@ define(['underscore', 'cam', 'lattice'], function(_, cam, lattice){ ...@@ -19,9 +19,6 @@ define(['underscore', 'cam', 'lattice'], function(_, cam, lattice){
//// data += this.addLine("G49", [], "cancel tool length comp"); //// data += this.addLine("G49", [], "cancel tool length comp");
// data += this.addLine("G40", [], "cancel tool radius comp"); // data += this.addLine("G40", [], "cancel tool radius comp");
//// data += this.addLine("M09", [], "coolant off"); //// data += this.addLine("M09", [], "coolant off");
data += this.goHome(settings);
return data; return data;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment