Skip to content

Commit

Permalink
Probing Offset Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
will1742 committed Aug 11, 2021
1 parent 831e7b6 commit 90bf325
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Haas_Lathes_BIDC/haas st-20.cps
Original file line number Diff line number Diff line change
Expand Up @@ -559,17 +559,17 @@ function getCompleteTool(holder, tool) {
}
this.offsetType = "Indexible Drilling";
this.x = function() {
return holder.x + tool.diameter*.15;
return holder.x + tool.diameter*.3;
};
this.z = function() {
return holder.z + (tool.getBodyLength() + tool.getHolderLength());
return holder.z + (tool.getBodyLength() + tool.getHolderLength() + holder.sOffset);
};
break;

case TOOL_TURNING_THREADING:
this.offsetType = "Threading";
this.x = function() {
return holder.x + (tool.cuttingWidth - tool.shankWidth*.5);
return holder.x - (tool.cuttingWidth - tool.shankWidth*.5);
};
this.z = function() {
return holder.z + (tool.holderOverallLength + holder.sOffset);
Expand All @@ -579,7 +579,7 @@ function getCompleteTool(holder, tool) {
default:
this.offsetType = "General Turning"
this.x = function() {
return holder.x + tool.cuttingWidth*2;
return holder.x - tool.cuttingWidth*2;
};
this.z = function() {
return holder.z + (tool.holderOverallLength + holder.sOffset);
Expand Down

0 comments on commit 90bf325

Please sign in to comment.