tweak default support settings. update location of beta tracker

This commit is contained in:
Stewart Allen 2020-11-22 20:54:24 -05:00
commit 19323b2958
5 changed files with 10 additions and 11 deletions

View file

@ -6,8 +6,6 @@
* milling visualization
* auto feature detection (slicing), manual tabs
* add tabs to shadow and slice model (for topo)
* step down should interpolate top/bottom again
* adaptive shadow-line generation for small parts collision detection
* fdm
* manual supports
* continuous printing (z belt systems)
@ -25,7 +23,7 @@
* `P` improve decimation speed by avoiding in/out of Point?
* `P` duplicate objects should share same slice data unless rotated or scaled
* `P` worker state cache cleanup and organization
* `P` client/worker interface normalization and cleanup
* `P` client/worker interface normalization
# FDM

View file

@ -6,6 +6,7 @@
if (!self.kiri) {
self.kiri = {
beta: 2402,
driver: {}, // driver modules
loader: [] // module loading: array of functions
};

View file

@ -283,11 +283,11 @@
sliceSupportEnable: false,
sliceSupportDensity: 0.25,
sliceSupportOffset: 1.0,
sliceSupportGap: 1,
sliceSupportSize: 10,
sliceSupportGap: 0.75,
sliceSupportSize: 5,
sliceSupportArea: 1,
sliceSupportExtra: 0,
sliceSupportSpan: 6,
sliceSupportSpan: 5,
sliceSupportNozzle: 0,
sliceSolidMinArea: 1,
sliceSolidLayers: 3,

View file

@ -44,8 +44,7 @@
js2o = API.js2o,
o2js = API.o2js,
platform = API.platform,
selection = API.selection,
beta = 2401;
selection = API.selection;
let deviceLock = false,
selectedTool = null,
@ -2188,9 +2187,9 @@
// try { if (WIN.self !== WIN.top) $('top-sep').style.display = 'flex' } catch (e) { }
// warn users they are running a beta release
if (beta && beta > 0 && SDB.kiri_beta != beta) {
if (KIRI.beta && KIRI.beta > 0 && SDB.kiri_beta != KIRI.beta) {
API.show.alert("this is a beta / development release");
SDB.kiri_beta = beta;
SDB.kiri_beta = KIRI.beta;
}
}

View file

@ -48,7 +48,7 @@
}
});
api.event.on("fdm.supports.add", func.sadd = () => {
alert = api.show.alert("<esc> key when done editing supports");
alert = api.show.alert("<esc> key cancels editing supports");
api.feature.hover = true;
});
api.event.on("fdm.supports.done", func.sdone = () => {
@ -109,6 +109,7 @@
}
});
sa.splice(ix,1);
API.conf.save();
return;
}
if (!iw) return;