disable old style auto supports
This commit is contained in:
parent
eadd9cf355
commit
e536355b7e
4 changed files with 14 additions and 15 deletions
|
|
@ -35,7 +35,7 @@
|
|||
});
|
||||
api.event.on("settings.saved", (settings) => {
|
||||
let proc = settings.process;
|
||||
api.ui.fdmSupport.marker.style.display = proc.sliceSupportEnable ? 'flex' : 'none';
|
||||
// api.ui.fdmSupport.marker.style.display = proc.sliceSupportEnable ? 'flex' : 'none';
|
||||
});
|
||||
api.event.on("button.click", target => {
|
||||
switch (target) {
|
||||
|
|
@ -48,8 +48,8 @@
|
|||
});
|
||||
}
|
||||
});
|
||||
api.event.on("fdm.supports.gen", func.sgen = () => {
|
||||
alert = api.show.alert("analyzing part...", 1000);
|
||||
api.event.on("fdm.supports.detect", func.sgen = () => {
|
||||
alert = api.show.alert("analyzing part(s)...", 1000);
|
||||
FDM.support_generate(array => {
|
||||
console.log({generated_supports: array});
|
||||
api.hide.alert(alert);
|
||||
|
|
|
|||
|
|
@ -242,7 +242,6 @@
|
|||
}
|
||||
|
||||
// calculations only relevant when supports are enabled
|
||||
// if (supportEnabled) {
|
||||
{
|
||||
let auto = spro.sliceSupportEnable && spro.sliceSupportDensity > 0.0,
|
||||
minArea = spro.sliceSupportArea;
|
||||
|
|
@ -807,7 +806,7 @@
|
|||
*/
|
||||
function doSupport(slice, proc, auto, fixed) {
|
||||
let minOffset = proc.sliceSupportOffset,
|
||||
maxBridge = proc.sliceSupportSpan,
|
||||
maxBridge = proc.sliceSupportSpan || 5,
|
||||
expand = proc.sliceSupportExtra,
|
||||
minArea = proc.supportMinArea,
|
||||
pillarSize = proc.sliceSupportSize,
|
||||
|
|
|
|||
Loading…
Reference in a new issue