clear animation when export initiated
This commit is contained in:
parent
f6eea4d6a4
commit
9b4017b8c1
3 changed files with 10 additions and 5 deletions
7
notes.md
7
notes.md
|
|
@ -6,9 +6,8 @@
|
||||||
* `B` can't drag slider bar on ipad / ios
|
* `B` can't drag slider bar on ipad / ios
|
||||||
|
|
||||||
* `P` duplicate objects should share same slice data unless rotated or scaled
|
* `P` duplicate objects should share same slice data unless rotated or scaled
|
||||||
* `P` allow selection to me decimated on demand (context menu?)
|
* `P` allow selection to be decimated on demand (context menu?)
|
||||||
* `P` improve decimation speed: omit point conversion or use wasm
|
* `P` improve decimation speed: omit point conversion or use wasm
|
||||||
* `P` client/worker message interface normalization
|
|
||||||
* `P` explore widget vertex reloading / replacing (Onshape) (issue #48)
|
* `P` explore widget vertex reloading / replacing (Onshape) (issue #48)
|
||||||
|
|
||||||
* `F` SVG import to 3D part like images
|
* `F` SVG import to 3D part like images
|
||||||
|
|
@ -16,7 +15,7 @@
|
||||||
* `F` allow select of a range by typing in values in slices or workspace units
|
* `F` allow select of a range by typing in values in slices or workspace units
|
||||||
* `F` add % field type with conversion (like units)
|
* `F` add % field type with conversion (like units)
|
||||||
* `F` complete G2/G3 arc output / input (85% now)
|
* `F` complete G2/G3 arc output / input (85% now)
|
||||||
* `F` expose grouping feature
|
* `F` complete and expose grouping feature
|
||||||
* `F` add svgnest-like arrange algorithm
|
* `F` add svgnest-like arrange algorithm
|
||||||
|
|
||||||
# FDM
|
# FDM
|
||||||
|
|
@ -71,9 +70,7 @@
|
||||||
* `B` first rough step too far down in certain circumstances?
|
* `B` first rough step too far down in certain circumstances?
|
||||||
* `B` trace open polys are not wound consistently
|
* `B` trace open polys are not wound consistently
|
||||||
* `B` path routing with tabs sometimes makes no sense
|
* `B` path routing with tabs sometimes makes no sense
|
||||||
* `B` clicking on a pop-op should pin it until clicked or [esc]
|
|
||||||
* `B` need to force cut line at synthetic z bottom (midlines, etc)
|
* `B` need to force cut line at synthetic z bottom (midlines, etc)
|
||||||
* `B` starting export during animation unleashes chaos
|
|
||||||
|
|
||||||
* `F` limit cut depth to flute length of selected tool
|
* `F` limit cut depth to flute length of selected tool
|
||||||
* `F` add ease-down support to trace op
|
* `F` add ease-down support to trace op
|
||||||
|
|
|
||||||
|
|
@ -1233,6 +1233,7 @@
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
API.event.emit("function.export", {mode: settings.mode});
|
||||||
complete.export = true;
|
complete.export = true;
|
||||||
KIRI.export(...argsave);
|
KIRI.export(...argsave);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -55,6 +55,13 @@
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
api.event.on("function.export", (mode) => {
|
||||||
|
if (isAnimate) {
|
||||||
|
CAM.animate_clear(api);
|
||||||
|
isAnimate = false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
api.event.on("mode.set", (mode) => {
|
api.event.on("mode.set", (mode) => {
|
||||||
isCamMode = mode === 'CAM';
|
isCamMode = mode === 'CAM';
|
||||||
$('set-tools').style.display = isCamMode ? '' : 'none';
|
$('set-tools').style.display = isCamMode ? '' : 'none';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue