map omit void to omitinner

This commit is contained in:
Stewart Allen 2025-12-09 23:05:09 -05:00
commit 6d28e75079
4 changed files with 7 additions and 2 deletions

View file

@ -537,6 +537,7 @@ export const conf = {
camOutlineIn: false,
camOutlineOut: true,
camOutlineOmitThru: false,
camOutlineOmitVoid: false,
camOutlineOver: 0.4,
camOutlineOverCount: 1,
camOutlinePlunge: 250,

View file

@ -265,6 +265,7 @@ export function createPopOps() {
dogbones: 'camOutlineDogbone',
revbones: 'camOutlineRevbone',
omitthru: 'camOutlineOmitThru',
omitvoid: 'camOutlineOmitVoid',
outside: 'camOutlineOut',
inside: 'camOutlineIn',
wide: 'camOutlineWide',
@ -284,6 +285,7 @@ export function createPopOps() {
inside: UC.newBoolean(LANG.co_olin_s, undefined, { title: LANG.co_olin_l, show: (op) => { return !op.inputs.outside.checked } }),
outside: UC.newBoolean(LANG.co_olot_s, undefined, { title: LANG.co_olot_l, show: (op) => { return !op.inputs.inside.checked } }),
omitthru: UC.newBoolean(LANG.co_omit_s, undefined, { title: LANG.co_omit_l }),
omitvoid: UC.newBoolean(LANG.co_omvd_s, undefined, { title: LANG.co_omvd_l, xshow: (op) => { return op.inputs.outside.checked } }),
sep: UC.newBlank({ class: "pop-sep" }),
wide: UC.newBoolean(LANG.co_wide_s, undefined, { title: LANG.co_wide_l }),
dogbones: UC.newBoolean(LANG.co_dogb_s, undefined, { title: LANG.co_dogb_l, show: (op) => { return !op.inputs.wide.checked } }),

View file

@ -14,7 +14,7 @@ class OpOutline extends CamOp {
async slice(progress) {
let { op, state } = this;
let { dogbones, down, inside, omitthru, outside, ov_botz, ov_topz } = op;
let { dogbones, down, inside, omitthru, omitvoid, outside, ov_botz, ov_topz } = op;
let { plunge, rate, rename, revbones, spindle, tool } = op;
let { shadow, widget } = state;
@ -55,7 +55,7 @@ class OpOutline extends CamOp {
drape: true,
expand: 0,
mode: 'trace',
// omitinner: true,
omitinner: omitvoid,
omitouter: inside,
outline: omitthru,
omitthru,