add roughing flat passes option
This commit is contained in:
parent
f097829e34
commit
367bf32b0a
6 changed files with 48 additions and 9 deletions
|
|
@ -173,6 +173,7 @@ export async function cam_slice(settings, widget, onupdate, ondone) {
|
|||
cutTabs,
|
||||
dark,
|
||||
isIndexed,
|
||||
newSlicer,
|
||||
ops: opList,
|
||||
setAxisIndex,
|
||||
setToolDiam,
|
||||
|
|
@ -218,8 +219,12 @@ export async function cam_slice(settings, widget, onupdate, ondone) {
|
|||
}
|
||||
}
|
||||
|
||||
function updateSlicer() {
|
||||
slicer = state.slicer = new cam_slicer(widget);
|
||||
function newSlicer(opts) {
|
||||
return new cam_slicer(widget, opts);
|
||||
}
|
||||
|
||||
function updateSlicer(opts) {
|
||||
return slicer = state.slicer = new cam_slicer(widget, opts);
|
||||
}
|
||||
|
||||
async function computeShadows() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue