From de40a86443b1bab38ee6289eb7df1898bd8e2305 Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Tue, 27 Oct 2020 13:47:53 -0400 Subject: [PATCH] fix contour tool distinct from outline tool --- notes.md | 1 + src/mode/cam/driver.js | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/notes.md b/notes.md index cc1dab7e..d0aeb730 100644 --- a/notes.md +++ b/notes.md @@ -2,6 +2,7 @@ ## `C` cosmetic, `F` functional, `P` performance, `B` bug fix +* `F` add click-to-activate/dismiss for configuration panels * `F` implement an in-app bug reporting system * `F` extend mesh object to store raw + annotations (rot,scale,pos) * share raw data w/ dups, encode/decode diff --git a/src/mode/cam/driver.js b/src/mode/cam/driver.js index 80f08951..eb1b1d71 100644 --- a/src/mode/cam/driver.js +++ b/src/mode/cam/driver.js @@ -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,