allow 'outline only' in pocket + contour mode

This commit is contained in:
Stewart Allen 2025-02-22 14:16:33 -05:00
commit 26f72b0b52
2 changed files with 2 additions and 2 deletions

View file

@ -1560,7 +1560,7 @@ CAM.init = function(kiri, api) {
follow: UC.newInput(LANG.cp_foll_s, {title:LANG.cp_foll_l, convert:UC.toFloat}),
sep: UC.newBlank({class:"pop-sep"}),
contour: UC.newBoolean(LANG.cp_cont_s, undefined, {title:LANG.cp_cont_s}),
outline: UC.newBoolean(LANG.cp_outl_s, undefined, {title:LANG.cp_outl_l, show:() => !poppedRec.contour}),
outline: UC.newBoolean(LANG.cp_outl_s, undefined, {title:LANG.cp_outl_l}),
engrave: UC.newBoolean(LANG.cp_engr_s, undefined, {title:LANG.cp_engr_l, show:() => poppedRec.contour}),
exp: UC.newExpand("overrides"),
sep: UC.newBlank({class:"pop-sep"}),

View file

@ -1342,7 +1342,7 @@ class OpPocket extends CamOp {
}
if (outline.length) {
// option to skip interior features (holes, pillars)
if (!contour && op.outline) {
if (op.outline) {
for (let p of outline) {
p.inner = undefined;
}