reduce move jupm tolerance for ball and taper mills
This commit is contained in:
parent
2cb691d3d8
commit
6de75a5172
1 changed files with 2 additions and 2 deletions
|
|
@ -121,7 +121,7 @@
|
||||||
tool = new CAM.Tool(settings, toolID);
|
tool = new CAM.Tool(settings, toolID);
|
||||||
toolType = tool.getType();
|
toolType = tool.getType();
|
||||||
toolDiam = tool.fluteDiameter();
|
toolDiam = tool.fluteDiameter();
|
||||||
toolDiamMove = toolType === 'endmill' ? toolDiam : tolerance;
|
toolDiamMove = toolType === 'endmill' ? toolDiam : tolerance * 2;
|
||||||
lastTool = toolID;
|
lastTool = toolID;
|
||||||
}
|
}
|
||||||
feedRate = feed;
|
feedRate = feed;
|
||||||
|
|
@ -259,7 +259,7 @@
|
||||||
}
|
}
|
||||||
} else if (isMove) {
|
} else if (isMove) {
|
||||||
// for longer moves, check the terrain to see if we need to go up and over
|
// for longer moves, check the terrain to see if we need to go up and over
|
||||||
const bigXY = (deltaXY > toolDiam);
|
const bigXY = (deltaXY > toolDiamMove);
|
||||||
const bigZ = (deltaZ > toolDiam/2 && deltaXY > tolerance);
|
const bigZ = (deltaZ > toolDiam/2 && deltaXY > tolerance);
|
||||||
const midZ = (absDeltaZ >= tolerance);
|
const midZ = (absDeltaZ >= tolerance);
|
||||||
if ((bigXY || bigZ) && (isMove || midZ)) {
|
if ((bigXY || bigZ) && (isMove || midZ)) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue