add max z feedrate. fix first point x,y and z moves split

This commit is contained in:
Stewart Allen 2020-06-11 22:11:19 -04:00
commit 958c4b8d7f
7 changed files with 157 additions and 126 deletions

View file

@ -14,6 +14,7 @@
CONF = BASE.config,
POLY = BASE.polygons,
SLA = KIRI.driver.SLA = {
init,
slice,
sliceRender,
printSetup,
@ -35,6 +36,16 @@
if (legacy) console.log("SLA Driver in Legacy Mode");
function init(kiri, api) {
api.event.on("mode.set", (mode) => {
if (mode === 'SLA') {
api.ui.act.preview.classList.add('hide');
} else {
api.ui.act.preview.classList.remove('hide');
}
});
}
/**
* DRIVER SLICE CONTRACT - runs in worker
*