Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
will1742 committed Jul 16, 2021
1 parent b1bf74a commit e800328
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 31 deletions.
26 changes: 0 additions & 26 deletions Haas_Next_Generation/1001.nc.failed

This file was deleted.

7 changes: 2 additions & 5 deletions Haas_Next_Generation/Bechtel VF4.cps
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ var hasB = false;
var hasC = false;
var measureTool = false;
var cycleReverse = false;
probeMultipleFeatures = true;
var probeMultipleFeatures = true;
var maximumSpindleRPM = 15000;
var homePositionCenter = false;

Expand Down Expand Up @@ -1357,9 +1357,6 @@ function onOpen() {
defaultFill();
}


writeln(parsedTools);

for (var i = 0; i < tools.getNumberOfTools(); i++) {
if (tool.bodyLength + tool.holderLength > MAX_TOOL_LENGTH) {
throw "Error: T" + tool.number + " length greater than machine max"
Expand Down Expand Up @@ -2717,7 +2714,7 @@ function onSection() {
displayMedia("Net Share/Media/checkDistance" + toolDistance.toPrecision(2).toString().replace(".", "_") + ".jpg");
writeBlock(mFormat.format(0), formatComment("Open door"));
//displayMedia("Net Share/Media/checkPrompt.jpg");
writeWords(mFormat.format(131), formatComment("End Multimedia"));
writeBlock(mFormat.format(131), formatComment("End Multimedia"));

// asks user if measured height is accurate to displayed
//var gotoRef = takeInput(("Is the tool " + toolDistance.toPrecision(3) + "in from the stock? [Y/N]"), ['N', 'Y']);
Expand Down

0 comments on commit e800328

Please sign in to comment.