add max z feedrate. fix first point x,y and z moves split
This commit is contained in:
parent
cbf3e2ff1a
commit
958c4b8d7f
7 changed files with 157 additions and 126 deletions
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue