fix tabs + threading in contouring. adjust flat surface detection

This commit is contained in:
Stewart Allen 2023-01-19 12:03:59 -05:00
commit 02ab6ed84b
2 changed files with 16 additions and 5 deletions

View file

@ -163,7 +163,7 @@ function prepEach(widget, settings, print, firstPoint, update) {
tool = new CAM.Tool(settings, toolID);
toolType = tool.getType();
toolDiam = tool.fluteDiameter();
toolDiamMove = toolType === 'endmill' ? toolDiam / 4 : tolerance * 2;
toolDiamMove = toolType === 'endmill' ? toolDiam : tolerance * 2;
lastTool = toolID;
}
feedRate = feed || feedRate;