fix contour tool distinct from outline tool

This commit is contained in:
Stewart Allen 2020-10-27 13:47:53 -04:00
commit de40a86443
2 changed files with 4 additions and 3 deletions

View file

@ -391,8 +391,8 @@
outp = settings.process,
units = settings.controller.units === 'in' ? 25.4 : 1,
resolution = outp.camTolerance * units,
diameter = getToolDiameter(settings, proc.camOutlineTool),
tool = getToolById(settings, proc.camOutlineTool),
diameter = getToolDiameter(settings, proc.camContourTool),
tool = getToolById(settings, proc.camContourTool),
toolStep = diameter * proc.camContourOver,
traceJoin = diameter / 2,
pocketOnly = proc.camOutlinePocket,
@ -418,7 +418,7 @@
diameter: diameter,
resolution: resolution
},
toolOffset = createToolProfile(settings, proc.camOutlineTool, topo),
toolOffset = createToolProfile(settings, proc.camContourTool, topo),
newslices = [],
newlines,
newtop,